Intellisense for angular.js does not work in a javascript file

后端 未结 4 647
不知归路
不知归路 2021-02-06 08:33

I\'m using Visual Studio 2013 which supports Intellisense for Angular.js. Intellisense does indeed work when I create an Angular.js module within a script tag in a HTML5 file. H

4条回答
  •  伪装坚强ぢ
    2021-02-06 09:32

    The javascript file needs a reference to angular js so it know what you're talking about. It looks like this:

    /// 
    

    See here for more info http://msdn.microsoft.com/en-us/library/vstudio/bb385682.aspx

提交回复
热议问题