cleanup(di): renamed viewInjector and hostInjector
BREAKING CHANGE Replace viewInjector with viewBindings Replace hostInjector with bindings
This commit is contained in:
@ -133,7 +133,7 @@ class DraftsCmp {
|
||||
}
|
||||
}
|
||||
|
||||
@Component({selector: 'inbox-app', viewInjector: [DbService]})
|
||||
@Component({selector: 'inbox-app', viewBindings: [DbService]})
|
||||
@View({templateUrl: "inbox-app.html", directives: [RouterOutlet, RouterLink]})
|
||||
@RouteConfig([
|
||||
new Route({path: '/', component: InboxCmp, as: 'inbox'}),
|
||||
|
Reference in New Issue
Block a user