angular2-firebase-demo
angular2-firebase-demo copied to clipboard
Issue with observableFirebaseArray
Hey @kylecordes,
I've been trying to implement the angular2-firebase lib in the default angular Tour of Heroes tutorial. But i'm stuck at trying to get the list from observableFirebaseArray. When i try to
this.heroes = observableFirebaseArray(new Firebase('https://heroes-test.firebaseio.com/') .child('heroes'));
it keeps giving me this error
SyntaxError: Unexpected token <(…)
I also tried to manually import it as from the node_modules. Am i missing something here?
Thanks in advance! Cheers Daniel
Thank you for reporting this, I will investigate.