Improve this Doc View Source ComponentInstruction

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

Improve this Doc View Source ComponentInstruction

  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).


A ComponentInstruction represents the route state for a single component. An Instruction is composed of a tree of these ComponentInstructions.

ComponentInstructions is a public API. Instances of ComponentInstruction are passed to route lifecycle hooks, like $routerCanActivate.

You should not modify this object. It should be treated as immutable.

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