I am using AngularJS routing and I used many tricks, but the '#' sign always comes in URL.
Refer below Example/Code that I Used but it is not removing # sign from the URL.
angular.module('mod', []).
config(['$routeProvider', '**$locationProvider'**,
function($routeProvider, **$locationProvider**) {
$routeProvider.
when('/first', {
templateUrl: 'first.html',
controller: 'firstCtrl'
});
$locationProvider.html5Mode(true);
}]);
Does any one have solution for this? Please share it.