doc(guide:$location): fix example for two way databinding.
When you are watching the $location.path(), it has to be wrapped in a function since it is not attached to the scope and if you pass a string to $scope.$watch it is evaluated against the $scope.
J
Jeremy Wilken committed
a7ba27b92c4363a88a4f8706a72d6c3e4ff8ce01
Parent: 2a7043f
Committed by Pete Bacon Darwin <pete@bacondarwin.com>
on 5/17/2013, 6:16:55 PM