Open sahassakhare opened 8 years ago
Try this:
.factory("someSrv", ["$rootScope", "$http", "AjaxInterceptor", function ($rootScope, $http, AjaxInterceptor) {}
Thanks petruisfan! I am getting the small modal but it does not contain the spinner. I have defined the spinner on index file
What is your version of ionic? Can you post a screenshot with the modal?
Hi petruisfan, glad for your quick responses. I am using IonicVS2015 for cordova, version 1.1.0.
It seems to me like a ionic / ionicons issue. Could you check if ionicons are loaded? Right click the blank modal, inspect css, and verify if all the classes are loaded. If not, your ionic installation might need updating.
Any update on this? :)
Hi petruisfan, following is the code for spinner in my index.html
I am new to ionic devlopment, so not sure whats wrong with it.
`
<div class="spinnerBackground"></div>
</div>`
Hi, In my ionic angulajs project, under factory I am have replacde $http.get with AjaxService.http.get(url).success(function (data) {}. I am getting error: "AjaxService is not defined". I have also passed AjaxInterceptor to the factory as, .factory("someSrv", ["$rootScope", "$http", function ($rootScope, $http,AjaxInterceptor) {} what am i supposed to do to resolve this? please reply