Quantcast
Channel: Ionic Forum - Latest topics
Viewing all articles
Browse latest Browse all 70612

Failed to use $localStorage

$
0
0

@eldy wrote:

angular.module('starter', ['ionic', 'starter.controllers','ngCordova'])

.run(function($ionicPlatform, $localstorage , $cordovaPush) {
$ionicPlatform.ready(function() {
console.log($localstorage);
})
})

What's wrong with above code?

I got error of Uncaught Error: [$injector:unpr] Unknown provider: $localstorageProvider <- $localstorage

Posts: 2

Participants: 2

Read full topic


Viewing all articles
Browse latest Browse all 70612

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>