I have searched for a similar question but the ones that came up seem slightly different. I am trying to change the ui-sref=\'\' of a link dynamically (this link points to t
I managed to implement it this way (I'm using the controllerAs variant though - not via $scope).
Template
Controller
var vm = this;
vm.locale = 'en'; // or whatever dynamic value you prepare
Also see the documentation to ui-sref where you can pass params:
https://github.com/angular-ui/ui-router/wiki/Quick-Reference#ui-sref