@andreyshedko wrote:
I'd like to inject $ionicPlatform abstraction into the service, but seemed I'm doing this wrong way. How should I use $ionicPlatform with service?
(function () { "use strict"; angular.module('service', []).service('BBNService', ["$ionicPlatform", "$http", "$localStorage", function ($ionicPlatform, $http, $localStorage) {
This code making throw TypeError: $ionicPlatform.ready is not a function
Posts: 1
Participants: 1