jigar patel

jigar patel

  • NA
  • 310
  • 23.9k

how to remove #! from url angularjs?

Apr 16 2018 12:40 AM
angular.module('adminpanel')
.config(['$stateProvider', '$urlRouterProvider', '$qProvider',
function (stateProvider, urlRouterProvider, qProvider) {
$locationProvider.html5Mode(true).hashPrefix('!');
 
 
- we are use html5mode(true ) but not working...
 
please give me example.
 
Thank You,
JIGAR PATEL

Answers (3)