Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 6 additions & 2 deletions modules/examples/pubspec.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,12 @@ dev_dependencies:
path: ../benchpress
transformers:
- angular2:
entry_points: web/src/hello_world/index_common.dart
reflection_entry_points: web/src/hello_world/index.dart
entry_points:
- web/src/hello_world/index_common.dart
- web/src/todo/index.dart
reflection_entry_points:
- web/src/hello_world/index.dart
- web/src/todo/index.dart
- $dart2js:
minify: false
commandLineOptions:
Expand Down
3 changes: 3 additions & 0 deletions modules/examples/src/todo/services/TodoStore.js
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
import {Injectable} from 'angular2/di';
import {ListWrapper} from 'angular2/src/facade/collection';

// base model for RecordStore
Expand All @@ -19,6 +20,7 @@ export class Todo extends KeyModel {
}
}

@Injectable()
export class TodoFactory {
_uid: number;

Expand All @@ -37,6 +39,7 @@ export class TodoFactory {
}

// Store manages any generic item that inherits from KeyModel
@Injectable()
export class Store {
list: List<KeyModel>;

Expand Down