$urlMatcherFactory.caseInsensitive(true); $urlMatcherFactory.strictMode(true); // or off nothing is work $urlRouterProvider.rule(function ($injector, $location) { var path = $location.path(), normalized = path;//.toLowerCase(); template = path; if (path !== normalized) { $location.replace().path(normalized); } } });
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)