p.location-badge.
exported from angular2/directives
defined in angular2/src/directives/ng_switch.ts (line 173)
:markdown
Defines a default case statement.
Default case statements are displayed when no `NgSwitchWhen` match the `ng-switch` value.
Example:
```
...
```
.l-main-section
h2 Annotations
.l-sub-section
h3.annotation Directive
pre.prettyprint
code.
@Directive({selector: '[ng-switch-default]'})
.l-main-section
h2 Members
.l-sub-section
h3 constructor
pre.prettyprint
code.
constructor(viewContainer: ViewContainerRef, templateRef: TemplateRef, sswitch: NgSwitch)
:markdown