title: ui-router. get state name from object/function
body: <p>I wonder, is there any way to reference states in view with object or function? </p>
  
  <p>Just to decouple views from states definition. E.g. if I change state name I don't have to change it everywhere in my views.</p>