aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorIgor Minar2012-01-17 11:23:56 -0800
committerIgor Minar2012-01-17 11:23:56 -0800
commitfcf95a47d102583913dca2217af6228c92c11dcf (patch)
tree3f184a509c41c9549b95d7ae8cb649f907116f94
parente1e7aca9a6036bfc0a4fbc7f63d0aafb533c3348 (diff)
downloadangular.js-fcf95a47d102583913dca2217af6228c92c11dcf.tar.bz2
docs(*): more fixes
-rw-r--r--docs/content/guide/dev_guide.services.$location.ngdoc2
-rw-r--r--docs/src/templates/index.html2
2 files changed, 2 insertions, 2 deletions
diff --git a/docs/content/guide/dev_guide.services.$location.ngdoc b/docs/content/guide/dev_guide.services.$location.ngdoc
index 2296a107..57c39191 100644
--- a/docs/content/guide/dev_guide.services.$location.ngdoc
+++ b/docs/content/guide/dev_guide.services.$location.ngdoc
@@ -516,7 +516,7 @@ api/angular.module.ng.$rootScope.Scope scope} life-cycle. This means it's your r
<pre>
describe('serviceUnderTest', function() {
- beforeEach(inject(function($provide) {
+ beforeEach(module(function($provide) {
$provide.factory('serviceUnderTest', function($location){
// whatever it does...
});
diff --git a/docs/src/templates/index.html b/docs/src/templates/index.html
index b598a0b1..3ab7b26a 100644
--- a/docs/src/templates/index.html
+++ b/docs/src/templates/index.html
@@ -133,7 +133,7 @@
</a>
<a ng:hide="offlineEnabled" ng:click ="subpage = true">(enable offline support)</a>
<span ng:show="offlineEnabled">(offline support enabled)</span>
- <span id="copyright">© 2010-2011 AngularJS</span>
+ <span id="copyright">© 2010-2012 AngularJS</span>
</div>
</div>