I am working with Angular 1.5 and am trying to switch from using ui-router in 1.4 to the new Component Router in 1.5.
However, when I upgrade to 1.5, I donβt see a way to enter "$ router" into my configuration.
I know I can download angular_1_router.js from this repository: https://github.com/brandonroberts/angularjs-component-router
But shouldn't the new router be included in 1.5?
Sorry, there seems to be not much documentation. There are outdated documents that relate to Angular 1.4 and Angular 2.0 docs .
When I try to use the angular_1_router.js file, I get $injector:modulerr when I try to use the 'ngComponentRouter', so I could not go this route as a workaround.
source share