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)?

3 comments
Comment actions Permalink

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
Comment actions Permalink

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
Comment actions Permalink

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

0

Please sign in to leave a comment.