Visual studio angularjs intellisense not showing up for some methods -


i receiving angular directives ng-app fine in html. intellisense working them.

i receiving intellisense angular methods so:

bootstrap method of angular works

but other methods not receiving @ all, or wrong stuff.

module method of angular not

what causing this? know module supposed receiving different intellisense.

i have friend phpstorm , receiving intellisense module method.

phpstorm intellisense angular.module

you should add angularjs reference ~/scripts/_references.js. file configured searched references javascript intellisense engine default (tools > options > text editor > javascript > intellisense > references). open file , drag-and-drop angular.js file there (i assume have included in project). reference following

/// <reference path="libs/angular/angular.js" /> 

you can add references js file - you'll intellisence there.


Comments

Popular posts from this blog

apache - Remove .php and add trailing slash in url using htaccess not loading css -

javascript - jQuery show full size image on click -