Improve this Doc View Source ngOutlet

  1. directive 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 directive that identifies where the Router should render its Components.

Directive Info

  • This directive executes at priority level 400 restrict: AE.

Usage

  • as element: (This directive can be used as custom element, but be aware of IE restrictions).
    <ng-outlet>
    ...
    </ng-outlet>
  • as attribute:
    <ANY>
    ...
    </ANY>

© 2010–2017 Google, Inc.
Licensed under the Creative Commons Attribution License 4.0.
https://code.angularjs.org/1.5.11/docs/api/ngComponentRouter/directive/ngOutlet