Skip to content
This repository was archived by the owner on Jun 18, 2019. It is now read-only.
This repository was archived by the owner on Jun 18, 2019. It is now read-only.

Issue with observableFirebaseArray  #2

Description

@danielvancamp

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions