Improve this Doc View Source RootRouter

From Get docs
< Improve this Doc ngComponentRouter‎ | typeAngularjs/docs/1.8/api/ngcomponentrouter/type/rootrouter

Improve this Doc View Source RootRouter

  1. type in module ngComponentRouter


In an effort to keep synchronized with router changes in the new Angular, this implementation of the Component Router (ngComponentRouter module) has been deprecated and will not receive further updates. We are investigating backporting the Router for the new Angular to AngularJS, but alternatively, use the ngRoute module or community developed projects (e.g. ui-router).


This type extends the Router.

There is only one instance of this type in a Component Router application injectable as the $rootRouter service. This Router is associate with the Top Level Component ($routerRootComponent). It acts as the connection between the Routers and the Location.

© 2010–2020 Google, Inc.
Licensed under the Creative Commons Attribution License 3.0.