Angular 2 Component Router for Angular 1
This is an extract directly built from Angular 2 source code without modification. Adding this as an npm package, because Angular hasn't released an official version yet.
Check out https://github.com/duluca/angular1.5-starter for sample usage (or to reproduce any errors or issues)
For more usage scenarios, check out https://github.com/brandonroberts/angularjs-component-router
As discussed on https://github.com/angular/angular.js/issues/12926.
npm install -g gulp@latest
git clone firstname.lastname@example.org:angular/angular.git angular2
This package is out there solely for convenience. You may directly import the router from Angular's npm package. Read more about on https://github.com/angular/angular.js/issues/12926.