An AngularJS directive for triggering a browser back on click