Angularfire: Property 'database' does not exist on type 'AngularFire'.

Created on 11 Apr 2016  路  1Comment  路  Source: angular/angularfire

Step 9. Bind to a list is not working.

    constructor(af: AngularFire) {
        // create a list at /items
        this.items = af.database.list('/items');
    }

screen shot 2016-04-11 at 8 11 29 pm

Most helpful comment

The docs have been updated, but we haven't cut the release yet.

Use af.list('/items') for now, the method will be deprecated in the latest release.

>All comments

The docs have been updated, but we haven't cut the release yet.

Use af.list('/items') for now, the method will be deprecated in the latest release.

Was this page helpful?
0 / 5 - 0 ratings