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
this is just working for me
in controller
$scope.createState = 'stateName';
in view
ui-sref="{{ createState }}"