ng-current
Advanced tools
Comparing version 1.0.0 to 1.0.1
@@ -10,3 +10,3 @@ ;(function(angular) { | ||
*/ | ||
mod.service('Contexts', function($log, $rootScope, $q) { | ||
mod.service('Contexts', ['$log', '$rootScope', '$q', function($log, $rootScope, $q) { | ||
var self = this | ||
@@ -220,3 +220,3 @@ | ||
} | ||
}) | ||
}]) | ||
})(angular) | ||
@@ -223,0 +223,0 @@ |
{ | ||
"name": "ng-current", | ||
"version": "1.0.0", | ||
"version": "1.0.1", | ||
"description": "Relational context manager for Angular", | ||
@@ -5,0 +5,0 @@ "main": "ng-current.js", |
@@ -138,5 +138,6 @@ # :radio_button: ng-current | ||
ES5: `var Current = require('ng-current')` | ||
ES6: `import Current from 'ng-current'` | ||
**ES5**: `var Current = require('ng-current')` | ||
**ES6**: `import Current from 'ng-current'` | ||
but be sure to require `angular` first so that it's accessible to `ng-current`: | ||
@@ -143,0 +144,0 @@ |
22232
148