ngComponentRouter.$rootRouter

Improve this Doc View Source $rootRouter

  1. service in module ngComponentRouter
Deprecated:

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

The singleton instance of the RootRouter type, which is associated with the top level $routerRootComponent.

© 2010–2017 Google, Inc.
Licensed under the Creative Commons Attribution License 4.0.
https://code.angularjs.org/1.6.4/docs/api/ngComponentRouter/service/$rootRouter

在线笔记
App下载
App下载

扫描二维码

下载编程狮App

公众号
微信公众号

编程狮公众号

意见反馈
返回顶部