chore(services): rename services.

Closes #711
This commit is contained in:
Rado Kirov
2015-03-11 16:48:57 -07:00
parent f4e0f51f5a
commit dd3e6271c2
17 changed files with 20 additions and 43 deletions

View File

@ -15,7 +15,7 @@ import {bootstrap, Component, Decorator, Template, NgElement} from 'angular2/ang
selector: 'hello-app',
// These are services that would be created if a class in the component's
// template tries to inject them.
componentServices: [GreetingService]
services: [GreetingService]
})
// The template for the component.
@Template({

View File

@ -29,7 +29,7 @@ function setup() {
"annotations" : [
new Component({
selector: 'hello-app',
componentServices: [app.GreetingService]
services: [app.GreetingService]
}),
new Template({
directives: [app.RedDec],