If you have added the angular library before, then after opening the current project, go to the settings: Languages & Frameworks -> JavaScript -> Libraries; you will see the angular and other related libraries you need on the right, tick them good.
If you haven’t added angular before, there is a very simple way:
Add in head: <script src="https://ajax.googleapis.com/ajax/libs/angularjs/1.3.15/angular.js"></script>
After placing the mouse on this line of URL, you will find that a lightbulb will appear at the beginning of this line of code. After clicking it, the download option will appear. After the download is completed, the library will be automatically added to the current project
There is no AngularJS js file in your project, so there is no prompt. When WebStorm finds that your project directory contains AngularJS js files, there will be a ng-* prompt.
If you have added the angular library before, then after opening the current project, go to the settings: Languages & Frameworks -> JavaScript -> Libraries; you will see the angular and other related libraries you need on the right, tick them good.
If you haven’t added angular before, there is a very simple way:
<script src="https://ajax.googleapis.com/ajax/libs/angularjs/1.3.15/angular.js"></script>
There is no AngularJS js file in your project, so there is no prompt. When WebStorm finds that your project directory contains AngularJS js files, there will be a
ng-*
prompt.You must place the angular.js file under the current project to activate the code prompt function.
See if the syntax prompt is disabled. I can see it displayed normally. My webstorm version is 8 and my os is win7. I suggest you google it
Use the method in the picture below to solve the problem, webstorm version 11.0.3