Create a gist now

Instantly share code, notes, and snippets.

What would you like to do?
import { Component } from '@angular/core';
import { NavController, LoadingController } from 'ionic-angular';
import * as firebase from 'firebase';
import { Camera, CameraOptions } from '@ionic-native/camera';
import { environment } from '../../environments/environment';
@Component({
selector: 'page-home',
templateUrl: 'home.html'
})
export class HomePage {
someTextUrl;
selectedPhoto;
loading;
currentImage;
constructor(public navCtrl: NavController, public camera: Camera, public loadingCtrl: LoadingController) {
firebase.initializeApp(environment.firebase);
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment