How do to get the images from Fire base storage using angular fire 2. Thanks a lot!
constructor(public af: AngularFire) {
this.items = af.database.list(\'/me
Right now there isn't an official integration with AngularFire2 and Firebase Storage. However, it's quite easy to use the regular SDK.
@Component({
})
class MyComponent {
image: string;
constructor() {
const storageRef = firebase.storage().ref().child('path/image.png');
storageRef.getDownloadURL().then(url => this.image = url);
}
}
Then in your template