ui-router
ui-router copied to clipboard
ui-sref parameter does not work in version 0.2.14
My config route:
angular.module('ads').config(['$stateProvider',
function($stateProvider) {
$stateProvider
.state('ads.q', {
url: '/q?categorie&{ubication:[0-9]}
controller : 'AdsQController',
templateUrl: 'ads/views/q.html'
});
}
]);
in html :
<a ui-sref-opts="{inherit: false}" ui-sref="ads.q({ubication:1, categorie:null})"> Prueba </a>
and does not remove category from url, in the version 0.2.13 it's run successfully
might be related to #1915 as it looks like a falsey value in the params.
Yup, dupe.