p.location-badge.
exported from angular2/router
defined in angular2/src/router/router_outlet.js (line 10)
:markdown
A router outlet is a placeholder that Angular dynamically fills based on the application's route.
## Use
```
```
Route outlets can also optionally have a name:
```
```
.l-main-section
h2 Members
.l-sub-section
h3 constructor
pre.prettyprint
code.
constructor(elementRef:ElementRef, loader:DynamicComponentLoader, router:routerMod.Router, injector:Injector, @Attribute('name') nameAttr:String)
:markdown
.l-sub-section
h3 activate
pre.prettyprint
code.
activate(instruction:Instruction)
:markdown
Given an instruction, update the contents of this viewport.
.l-sub-section
h3 canDeactivate
pre.prettyprint
code.
canDeactivate(instruction:Instruction)
:markdown
.l-sub-section
h3 deactivate
pre.prettyprint
code.
deactivate()
:markdown