Skip to content

Commit cfce3b6

Browse files
committed
final rename to angularLocalStorage as it seems ngStorage was taken
1 parent 953af5d commit cfce3b6

File tree

6 files changed

+14
-14
lines changed

6 files changed

+14
-14
lines changed

README.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
ngStorage [![Build Status](https://travis-ci.org/agrublev/ngStorage.png?branch=master)](https://travis-ci.org/agrublev/ngStorage)
1+
angularLocalStorage [![Build Status](https://travis-ci.org/agrublev/angularLocalStorage.png?branch=master)](https://travis-ci.org/agrublev/angularLocalStorage)
22
====================
33

44
The simpliest localStorage module you will ever use. Allowing you to set, get, and *bind* variables.
@@ -12,7 +12,7 @@ The simpliest localStorage module you will ever use. Allowing you to set, get, a
1212
## How to use
1313

1414
1. Just add this module to your app as a dependency
15-
``var yourApp = angular.module('yourApp', [..., 'ngStorage']``
15+
``var yourApp = angular.module('yourApp', [..., 'angularLocalStorage']``
1616
2. Now inside your controllers simply pass the storage factory like this
1717
``yourApp.controller('yourController', function( $scope, storage){``
1818
3. Using the ``storage`` factory
@@ -47,13 +47,13 @@ The simpliest localStorage module you will ever use. Allowing you to set, get, a
4747
This module is available as bower package, install it with this command:
4848

4949
```bash
50-
bower install ngStorage
50+
bower install angularLocalStorage
5151
```
5252

5353
or
5454

5555
```bash
56-
bower install git://github.com/agrublev/ngStorage.git
56+
bower install git://github.com/agrublev/angularLocalStorage.git
5757
```
5858

5959
## Example

bower.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
2-
"name": "ngStorage",
3-
"version": "0.1.6",
4-
"main": "src/ngStorage.js",
2+
"name": "angularLocalStorage",
3+
"version": "0.1.7",
4+
"main": "src/angularLocalStorage.js",
55
"ignore": [
66
"**/.*",
77
"node_modules",

examples/index.html

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -17,9 +17,9 @@
1717

1818
<script src="../components/angular/angular.min.js"></script>
1919
<script src="../components/angular-cookies/angular-cookies.min.js"></script>
20-
<script src="../src/ngStorage.js"></script>
20+
<script src="../src/angularLocalStorage.js"></script>
2121
<script>
22-
var eS = angular.module('exampleStore', ['ngStorage']);
22+
var eS = angular.module('exampleStore', ['angularLocalStorage']);
2323

2424
eS.controller('MainCtrl', ['$scope', 'storage', function ( $scope, storage ) {
2525
storage.bind($scope, 'test', 'Some Default Text');
@@ -52,7 +52,7 @@ <h2>How to use localStorage module</h2>
5252
</div>
5353
<div class="large-8 columns">
5454
<pre>
55-
var eS = angular.module('exampleStore', ['ngStorage']);
55+
var eS = angular.module('exampleStore', ['angularLocalStorage']);
5656

5757
eS.controller('MainCtrl', ['$scope', 'storage', function ( $scope, storage ) {
5858
storage.bind($scope, 'test', 'Some Default Text');

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
{
2-
"name":"ngStorage",
2+
"name":"angularLocalStorage",
33
"devDependencies": {
44
"karma": "~0.10",
55
"karma-jasmine": "~0.1"
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
angular.module('ngStorage', ['ngCookies']).factory('storage', ['$parse', '$cookieStore', '$window', '$log', function ($parse, $cookieStore, $window, $log) {
1+
angular.module('angularLocalStorage', ['ngCookies']).factory('storage', ['$parse', '$cookieStore', '$window', '$log', function ($parse, $cookieStore, $window, $log) {
22
/**
33
* Global Vars
44
*/
Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
1-
describe('ngStorage module', function () {
1+
describe('angularLocalStorage module', function () {
22
var storage, testValue, scope;
33

44
beforeEach(function () {
5-
module('ngStorage');
5+
module('angularLocalStorage');
66

77
inject(function ($injector) {
88
storage = $injector.get('storage');

0 commit comments

Comments
 (0)