My router looks like that:
.state('project', {
'url': '/project/*path',
'controller': 'ProjectController',
'templateUrl': '/pages/project.html',
});
but when I use
ui-sref="project({path: mypath})"
with mypath=part1/part2 I expect the it to turn into /project/part1/part2 but instead i get /project/part1%252Fpart2.
How can I make it pass parameter without encoding it ?