Currently, I am using AngularJS html4mode to extract URL parameters. I would like to change to using hashbang method because my routing got screwed up after enabling html4mode.
For extracting URL parameters using html4mode, the URL is http://127.0.0.1/webroot/start.html?Venue=XXX
The configuration code for $locationProvider is as follows;
$locationProvider.html5Mode(true); //configure $location
Inside the controller;
var url_param = ($location.search()).Venue;
I failed when I tried to convert to hashbang. I am at a loss now
To convert to hashbang, how would the URL look like and what changes need to be made to the controller and configuration of $locationProvider?
Thank you very much for your help.