Is "Angular JS" module to be avoided for new development?

I am starting a new Angular project.  I would like to use Angular 4 (released March 2017).  The only "New Module" option available in IntelliJ IDEA Ultimate 2017 is "Angular JS".

This sounds well out of date since Angular 2 and Angular 4 have both been released subsequent to Angular JS.  Also, "Angular 2+ versions are simply called Angular." (Wikipedia)  So, the nomenclature of the IDEA module doesn't suggest it is modern.

Should "Angular JS" module be avoided for new development?  Are there specific changes that could be done manually to morph the starter shell into a modern Angular 4 starter project?  Or is it just easier to create an Angular 4 module manually without IDEA assistance?

Angular JS module description in IDEA:  "This project is an application skeleton for a typical AngularJS web app."

0
4 comments

You should have this module installed if you like to develop Angular or AngularJS application. And it's clearly stated in docs - see https://www.jetbrains.com/help/webstorm/2017.2/angular.html#angular_cli_in_WebStorm_before_you_start

0
Avatar
Permanently deleted user

Thank you for the link, however I am not sure it is that clear.  That link says "WebStorm generates the Angular-specific project structure with all the required configuration files based on the AngularJS seed project".

But I do not want an "Angular JS" project.  That is the old term for the old technology.  I want a modern "Angular" project, specifically Angular 4

 "Angular 2+ versions are simply called Angular." -- Wikipedia

"Angular is an incompatible rewrite of AngularJS." -- Wikipedia

"The current stable release of AngularJS is 1.6.4."-- Wikipedia

0

ok, it's a bug in help - https://youtrack.jetbrains.com/issue/WEB-28221.

But you can see `Install Angular CLI and generate an Angular-specific project stub using Angular CLI.  ` right above this phrase. And angular cli is used for creating angular 2+ projects

 

So, once more: you should have this module installed if you like to develop Angular or AngularJS application. but you are free to not install it, of course:)

 

0
Avatar
Permanently deleted user

Yes, agreed, looks like a little help bug.  Thanks for filing that.  It caused me to incorrectly read it as legacy advice.

I see now that Angular JS "New Module" option generates Angular JS and Angular CLI is the way to generate an Angular 2+ module.  Your good tip above about this would be valuable to include in the Angular CLI "New Module" description ("The Angular CLI makes it easy to create an application that already works, right out of the box. It already follows our best practices!"...it could say Angular 2+...that would have made it a lot more clear in IntelliJ "New Module" UI).

Thank you for the Install Angular CLI link.  Mine was not up to date.

I used "New Module" | Angular CLI to generate starter module.  It appears to be using Angular 4 (i.e., "@angular/core": "~4.2.0" appears in dependencies in package.json).

Thanks so much!  I am all set.

0

Please sign in to leave a comment.