My router looks like that:
.state(\'project\', {
\'url\': \'/project/*path\',
\'controller\': \'ProjectController\',
\'templateUrl\':
in new ui-router 1.0 we can use raw:true param which will disable url-encoding of parameter as described here
//link to state
Hello world
$urlMatcherFactoryProvider.type('SlashFix', {
raw: true,
});
$stateProvider
.state('content',{
url: '/{slug:SlashFix}',
...
More detailed explanation can be found here:
https://www.coditty.com/code/angular-ui-router-replacing-slash-with-2f-quick-fix