Created
May 5, 2015 14:33
-
-
Save vladima/eb85232f255e30a60133 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@Component({ | |
selector: 'todo-app', | |
injectables: [ | |
AngularFire, | |
bind(Firebase).toValue(new Firebase('https://webapi.firebaseio-demo.com/test')) | |
]}) | |
@View({ | |
templateUrl: 'todo.html', | |
directives: [For] | |
}) | |
class TodoApp { | |
... | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
TodoApp = __decorate([ | |
annotations_1.Component({ | |
selector: 'todo-app', | |
injectables: [ | |
angularfire_1.AngularFire, | |
di_1.bind(Firebase).toValue(new Firebase('https://webapi.firebaseio-demo.com/test')) | |
] }), | |
annotations_1.View({ | |
templateUrl: 'todo.html', | |
directives: [angular2_1.For] | |
}), | |
__metadata('design:paramtypes', [angularfire_1.AngularFire]) | |
], TodoApp); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment