Skip to content

Commit

Permalink
rename module to ngUrlParser
Browse files Browse the repository at this point in the history
  • Loading branch information
yllieth committed Jul 23, 2016
1 parent 5a0c87f commit b17db05
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 5 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ Once the lib is downloaded,
```javascript
angular
.module('YOUR-ANGULAR-APP-NAME', [
'angular-url-parser'
'ngUrlParser'
])
.controller('demoCtrl', function(urlParser) {
this.protocol = urlParser.getProtocol();
Expand Down
2 changes: 1 addition & 1 deletion angular-url-parser.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
angular
.module('angular-url-parser', [])
.module('ngUrlParser', [])
.factory('urlParser', function () {
'use strict';

Expand Down
4 changes: 2 additions & 2 deletions app/app.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
angular
.module('demo-angular-url-parser', ['angular-url-parser'])
.controller('demoCtrl', function($scope, urlParser) {
.module('demo-angular-url-parser', ['ngUrlParser'])
.controller('demoCtrl', function(urlParser) {
'use strict';

this.example = {
Expand Down
3 changes: 2 additions & 1 deletion bower.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,8 @@
"authors": [
"Sylvain RAGOT <sylvnimes@hotmail.com>"
],
"description": "Url parsing methods",
"description": "Get simple methods to manipulate url parts",
"private": false,
"main": "angular-url-parser.js",
"keywords": [
"angular",
Expand Down

0 comments on commit b17db05

Please sign in to comment.