Skip to content

Commit 82ad67a

Browse files
committed
wip passing ngc
1 parent 02cee7b commit 82ad67a

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

src/components/tabs/tab-group.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,6 @@
2020
[id]="getTabContentId(i)"
2121
[class.md-active]="selectedIndex == i"
2222
[attr.aria-labelledby]="getTabLabelId(i)">
23-
<template role="tabpanel" [portalHost]="tab.content" *ngIf="selectedIndex == i"></template>
23+
<template role="tabpanel" [portalHost]="tab.content" [ngIf]="selectedIndex == i"></template>
2424
</div>
2525
</div>

src/demo-app/button-toggle/button-toggle-demo.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
import {Component} from '@angular/core';
2+
import {FORM_DIRECTIVES, NgFor} from '@angular/common';
23
import {MD_BUTTON_TOGGLE_DIRECTIVES} from '@angular2-material/button-toggle/button-toggle';
34
import {
45
MdUniqueSelectionDispatcher
@@ -10,7 +11,7 @@ import {MdIcon} from '@angular2-material/icon/icon';
1011
selector: 'button-toggle-demo',
1112
templateUrl: 'button-toggle-demo.html',
1213
providers: [MdUniqueSelectionDispatcher],
13-
directives: [MD_BUTTON_TOGGLE_DIRECTIVES, MdIcon]
14+
directives: [MD_BUTTON_TOGGLE_DIRECTIVES, FORM_DIRECTIVES, MdIcon, NgFor]
1415
})
1516
export class ButtonToggleDemo {
1617
favoritePie = 'Apple';

0 commit comments

Comments
 (0)