javascript - Webstorm Angularjs plugin doesn't work, can't detect 'angular' keyword -
I am new to AngularJs and web development.
I have used the webstream to develop it and have installed the Angelas plugin beforehand. It works in html file, but it does not work in .js file. I have a very simple statement:
var myApp = angular.module ('myApp', []);
In webstorm, this keyword can detect 'angular'.
Nobody knows what I am missing? Thank you
Do you mean that 'angular' has been embedded in HTML in JavaScript, but JS Not in the files? Have you installed ANY JS Javascript library in any way? It seems that the library is either missing or only configured in HTML file scope (usually later when the 'download library' is intended in the HTML file). To solve an angular content, you must copy angular.js to your project directory and configure it in the settings / javascript / library as a javascript library
Comments
Post a Comment