DEV Community

7 Mistakes to Avoid When Moving from AngularJS to Angular

Jennifer Wadella on June 20, 2019

Are you moving from writing AngularJS to Angular apps? There's a lot to learn, but check out this quick guide on mistakes to avoid first! Upgradin...
Collapse
 
maxart2501 profile image
Massimo Artizzu

A tip for searching for Angular topics and excluding Angular JS results: append -angularjs to your search terms in Google. Not perfect but pretty good.

I also limit the results to the last year if I want something recent.

Collapse
 
purplenimbus profile image
Anthony Akpan • Edited

On thing of note is when doing ng generate component myComponent.

Camel case names will be converted to kebab case names. Also spec files are generated as well.

Another huge leap is $compile is no longer there so injecting components into the Dom is completely diffrent.

Collapse
 
austinstanding profile image
Austin Standing

Super helpful! Have a follow.

Collapse
 
codeanit profile image
Anit Shrestha Manandhar

Great helpful write! Thank you!!!

Collapse
 
oleksandr profile image
Oleksandr • Edited

Nice list! Btw to learn RxJS basics I can recommend my course "Hands-on RxJS" udemy.com/hands-on-rxjs-for-web-de...