@ -1,13 +1,12 @@
<!doctype html>
<!doctype html>
< html lang = "en" >
< html lang = "en" >
< meta charset = "utf-8" >
< meta charset = "utf-8" >
< title > Demo of Angular Local Storage Module< / title >
< title > Demo of Angular Local Storage Module< / title >
< meta name = "description" content = "Demo of Angular Local Storage Module" >
< meta name = "description" content = "Demo of Angular Local Storage Module" >
< meta name = "author" content = "Gregory Pike" >
< meta name = "author" content = "Gregory Pike" >
<!-- Always force latest IE rendering engine (even in intranet) & Chrome Frame -->
< meta http-equiv = "X-UA-Compatible" content = "IE=edge,chrome=1" >
<!-- Place favicon.ico and apple - touch - icon.png in the root of your domain and delete these references -->
<!-- [if IE]><![endif] --> <!-- Used to speed CSS loading -->
< link rel = "stylesheet" href = "http://necolas.github.com/normalize.css/2.0.1/normalize.css" >
< link rel = "stylesheet" href = "http://necolas.github.com/normalize.css/2.0.1/normalize.css" >
< link href = "http://netdna.bootstrapcdn.com/twitter-bootstrap/2.1.1/css/bootstrap-combined.min.css" rel = "stylesheet" >
< link href = "http://netdna.bootstrapcdn.com/twitter-bootstrap/2.1.1/css/bootstrap-combined.min.css" rel = "stylesheet" >
< link href = "http://google-code-prettify.googlecode.com/svn/trunk/src/prettify.css" rel = "stylesheet" >
< link href = "http://google-code-prettify.googlecode.com/svn/trunk/src/prettify.css" rel = "stylesheet" >
@ -37,9 +36,11 @@
< p > < input type = "text" ng-model = "localStorageDemo" placeholder = "Start typing..." > < / p >
< p > < input type = "text" ng-model = "localStorageDemo" placeholder = "Start typing..." > < / p >
< blockquote class = "well" ng-show = "localStorageDemoValue" >
< blockquote class = "well" ng-show = "localStorageDemoValue" >
< p > {{localStorageDemoValue}}< / p >
< p ng-bind = "localStorageDemoValue" > < / p >
< small > {{storageType}} value< / small >
< small > {{storageType}} value< / small >
< / blockquote >
< / blockquote >
< p > < button ng-click = "clearAll()" > Clear All< / button > < / p >
< / div >
< / div >
< p > The Angular Local Storage Module is meant to be a plug-and-play Angular module for accessing the browsers Local Storage API.< / p >
< p > The Angular Local Storage Module is meant to be a plug-and-play Angular module for accessing the browsers Local Storage API.< / p >
@ -148,7 +149,7 @@ var YourCtrl = function($scope, localStorageService, ...) {
<!-- JAVASCRIPT -->
<!-- JAVASCRIPT -->
< script src = "https://ajax.googleapis.com/ajax/libs/angularjs/1.0.1/angular.min.js" > < / script >
< script src = "https://ajax.googleapis.com/ajax/libs/angularjs/1.0.1/angular.min.js" > < / script >
< script src = "http://google-code-prettify.googlecode.com/svn/trunk/src/prettify.js" > < / script >
< script src = "http://google-code-prettify.googlecode.com/svn/trunk/src/prettify.js" > < / script >
< script src = " .. /dist/angular-local-storage.min.js"> < / script >
< script src = " https://rawgit.com/grevory/angular-local-storage/master /dist/angular-local-storage.min.js"> < / script >
< script src = "demo-app.js" > < / script >
< script src = "demo-app.js" > < / script >
< / body >
< / body >
< / html >
< / html >