Given markup
a(ui-sref="foo({id: 123})") {{m.name.value}}
a state provider with
$stateProvider.state('foo', {
template: templates.foo,
controller: 'foo'
});
and a controller with
zap.controller('foo', function($scope, $state, $stateParams) {
console.log($stateParams); // this is {}
});
State Params is an empty {} where I would expect id to be 123