I have a routeprovider:
$routeProvider.when("/editor/:tripName*", {
controller: "tripEditorController",
controllerAs: "vm",
templateUrl: "/views/tripEditorView.html"
});
and in html something like :
<td><a ng-href="#/editor/{{ trip.name | escape}}" class="btn btn-sm btn-primary">Manage</a></td>
But when I click on the button, my url is getting converted to something strange
/App/trips#!/#%2Feditor%2FIndia%2520Trip
Appreciate any pointer to get this fixed.