How to add angularJs support to existing project (maven, war)

I have an empty maven/war project and want to angularjs support. how to do this? (i installed nodjs and anguarjs plugin already)

what are the pros and cons between the 3 documented ways to get angular (manuall, npm/bower, intellij)?

1

Normally all you need to enable Angular support for your project is adding angular.js file (uncompressed) to it (see
http://blog.jetbrains.com/webstorm/2014/03/angularjs-workflow-in-webstorm/, 'Include angular.js in Your Project' section).

0

in my case i have added "angular.min.js" but it seems to work: trl-click on controller name in html gets me to controller in js - nice, thanks.

0

With the minified file you'll get only partial support... I'd strongly recommend adding the debug version (uncompressed) to you project

0

请先登录再写评论。