refactor(core): renamed injectables into appInjector
BREAKING CHANGES Before: @Component({injectables: [Type]} class MyCmp{} After: @Component({appInjector: [Type]} class MyCmp{}
This commit is contained in:
@ -13,7 +13,7 @@ import {View} from 'angular2/src/core/annotations_impl/view';
|
||||
|
||||
@Component({
|
||||
selector: 'demo-app',
|
||||
injectables: [MdDialog]
|
||||
appInjector: [MdDialog]
|
||||
})
|
||||
@View({
|
||||
templateUrl: './demo_app.html',
|
||||
|
@ -12,7 +12,7 @@ import {View} from 'angular2/src/core/annotations_impl/view';
|
||||
|
||||
@Component({
|
||||
selector: 'demo-app',
|
||||
injectables: [MdRadioDispatcher]
|
||||
appInjector: [MdRadioDispatcher]
|
||||
})
|
||||
@View({
|
||||
templateUrl: './demo_app.html',
|
||||
|
Reference in New Issue
Block a user