2015-06-01 22:51:00 -07:00
p.location-badge.
exported from <a href='../directives'>angular2/directives</a>
2015-06-19 12:08:22 -07:00
defined in <a href="https://github.com/angular/angular/tree/3a0410a/modules/angular2/src/directives/ng_switch.ts#L176-L198">angular2/src/directives/ng_switch.ts (line 176)</a>
2015-06-01 22:51:00 -07:00
:markdown
Defines a default case statement.
2015-06-02 09:05:05 -07:00
Default case statements are displayed when no `NgSwitchWhen` match the `ng-switch` value.
2015-06-01 22:51:00 -07:00
Example:
```
<template [ng-switch-default]>...</template>
```
.l-main-section
h2 Members
.l-sub-section
h3 constructor
pre.prettyprint
code.
2015-06-19 12:08:22 -07:00
constructor(viewContainer: ViewContainerRef, protoViewRef: ProtoViewRef, sswitch: NgSwitch)
2015-06-01 22:51:00 -07:00
:markdown