ui-router icon indicating copy to clipboard operation
ui-router copied to clipboard

ui-sref parameter does not work in version 0.2.14

Open jcsena opened this issue 11 years ago • 2 comments

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

jcsena avatar Apr 28 '15 17:04 jcsena

might be related to #1915 as it looks like a falsey value in the params.

eddiemonge avatar Apr 28 '15 18:04 eddiemonge

Yup, dupe.

nateabele avatar Apr 29 '15 14:04 nateabele