angular2-firebase-demo icon indicating copy to clipboard operation
angular2-firebase-demo copied to clipboard

Issue with observableFirebaseArray

Open danielvancamp opened this issue 8 years ago • 1 comments

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

danielvancamp avatar Mar 06 '16 00:03 danielvancamp

Thank you for reporting this, I will investigate.

kylecordes avatar Mar 06 '16 02:03 kylecordes