feat(dart/transform): Turn on transform for examples/todo

- Tag services with `@Injectable()`
- Update `pubspec.yaml` to transform examples/todo.

Closes #1527
This commit is contained in:
Tim Blasi
2015-04-24 10:45:10 -07:00
committed by Misko Hevery
parent 818bb9b697
commit 726fecbfb6
2 changed files with 9 additions and 2 deletions
@@ -1,3 +1,4 @@
import {Injectable} from 'angular2/di';
import {ListWrapper} from 'angular2/src/facade/collection';
// base model for RecordStore
@@ -19,6 +20,7 @@ export class Todo extends KeyModel {
}
}
@Injectable()
export class TodoFactory {
_uid: number;
@@ -37,6 +39,7 @@ export class TodoFactory {
}
// Store manages any generic item that inherits from KeyModel
@Injectable()
export class Store {
list: List<KeyModel>;