I have a problem using an object i get from my firebase db. I can recieve the json file without any problems as you can see on the picture below. https://i.gyazo.com/6c1c69aca47f92a4e1029bb019042ab2.png
<h1>{{ item | async | json}}</h1>
the above code is in /src/app/app.component.html ,
this recieves the item object from /src/app/app.component.ts
import { Component } from '@angular/core';
import { AngularFire, FirebaseObjectObservable } from 'angularfire2';
@Component({
moduleId: module.id,
selector: 'app-root',
templateUrl: 'app.component.html',
styleUrls: ['app.component.css']
})
export class AppComponent {
item: FirebaseObjectObservable<any>;
constructor(af: AngularFire) {
this.item = af.database.object('/releases/');
}
}
I also have tried using item.name.$value but it doesn't work. I would want to get the values in the json file. And be able to use them in the website.