title: In AngularJS, how do I add a $watch on the URL hash?
body: <p>Using Angular, how can I add a watch that is fired when the hash is updated, either by my application, or when the browser updates the URL from either the URL bar or the back/forward buttons?</p>