angular/angular.js — pull request #2687 by gnomeontherun (2013-05-17 14:58:24+00:00)
Title: Update dev_guide.services.$location.ngdoc

Updating the last example for watching the $location.path(), has to be wrapped in a function since if you pass a string to $scope.$watch it is evaluated against the $scope, which $location is not attached to and won't correctly $watch.