Skip to content

Commit

Permalink
chore: include material icon
Browse files Browse the repository at this point in the history
  • Loading branch information
PatrickJS committed May 19, 2016
1 parent 90f0785 commit ddede6d
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 3 deletions.
1 change: 1 addition & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -69,6 +69,7 @@
"@angular2-material/button": "2.0.0-alpha.4",
"@angular2-material/card": "2.0.0-alpha.4",
"@angular2-material/checkbox": "2.0.0-alpha.4",
"@angular2-material/icon": "2.0.0-alpha.4",
"@angular2-material/core": "2.0.0-alpha.4",
"@angular2-material/input": "2.0.0-alpha.4",
"@angular2-material/list": "2.0.0-alpha.4",
Expand Down
8 changes: 5 additions & 3 deletions src/platform/browser/angular2-material2/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ import { MdProgressCircle, MdSpinner } from '@angular2-material/progress-circle'
import { MdRadioButton, MdRadioDispatcher, MdRadioGroup } from '@angular2-material/radio';
import { MD_SIDENAV_DIRECTIVES } from '@angular2-material/sidenav';
import { MdToolbar } from '@angular2-material/toolbar';

import { MdIcon, MdIconRegistry } from '@angular2-material/icon';
/*
* we are grouping the module so we only need to manage the imports in one location
*/
Expand All @@ -28,13 +28,15 @@ export const MATERIAL_DIRECTIVES = [
MdRadioGroup,
MdSpinner,
MdProgressBar,
MdProgressCircle
MdProgressCircle,
MdIcon
],
...MD_INPUT_DIRECTIVES,
...MD_LIST_DIRECTIVES,
...MD_CARD_DIRECTIVES
];

export const MATERIAL_PROVIDERS = [
MdRadioDispatcher
MdRadioDispatcher,
MdIconRegistry
];

0 comments on commit ddede6d

Please sign in to comment.