I\'m using AngularJS, and would like to process a given #hash-fragment in the address-bar. However, —and this is key— I\'ll not be using the hash-fragm
#hash-fragment
# seems to work well enough on the angular api docs page. So with a little snooping and testing I found that
#
app.config(function($locationProvider) { $locationProvider.html5Mode(true).hashPrefix('!'); });
makes the difference.