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.