Enabling javascript intellisense for external libraries in Visual Studio

Viewed 8256

I updated ~/Scripts/_references.js with

/// <autosync enabled="true" />
/// <reference path="angular.js" />
/// <reference path="angular-route.js" />

and in my app.js I can see some intellisense working, which is great

angular.js intellisense working

but go a little further and it doesn't work anymore.

angular.js intellisense not working

Any ideas on why this happens or ways to make it work?

2 Answers
Related