|
|
|
@ -133,7 +133,7 @@ Checks if the browser support the current storage type(e.g: `localStorage`, `ses
|
|
|
|
|
```js
|
|
|
|
|
myApp.controller('MainCtrl', function($scope, localStorageService) {
|
|
|
|
|
//...
|
|
|
|
|
if(localStorageService.isSupported()) {
|
|
|
|
|
if(localStorageService.isSupported) {
|
|
|
|
|
//...
|
|
|
|
|
}
|
|
|
|
|
//...
|
|
|
|
|