Retrieve data from firebase with promise in AngularJS/Ionic Application
Hi experts,
I have a Ionic Application where I try to include Firebase. I got it work so far but the way I included the get request in my controller my script just continue without waiting for the data. I would like to convert my request into a request with a promise.
something similar as I used before with normal $http requests:
$http(http_req).then(function mySucces(data) {// Success}, function myError(data) {//something was wrong});