Introduction to the new router in AngularJS 1.4+/2.0

Angular 1.4 soon will be finally out and the most shiny new feature is thenew router. It’s fantastic news that it will be also used on the futureAngular 2.0 as well.

I am going to skip the theory blurb and show you two implementations (ngRoute vs ngNewRouter) so you can figure it out the differences by looking at the code. Hope I don’t lose you. Use the links below to see it running.

 

Source: medium.com

See on Scoop.itAngular.org.il

Posted in: Articles.
Last Modified: March 16, 2015

Leave a Reply