Created
August 2, 2017 13:29
-
-
Save matthieu-D/f17a68182258e5c8e8a36d6d89025ca7 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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