Question on angular 1.6.9 with connected routing. There is a "tree" of elements. And on one of the pages we have a code like this:
<a href="/#!/elements/{{ element.id }}/list">{{ element.name }}</a> We need to change the model when clicking on this link (the property is updated). For example, if you change it like this:
<a ng-click="element.name='hello world'">{{ element.name }}</a> That model name is updated - we have achieved the necessary behavior, but the truth does not follow the link - which is no good.
What is the way out of this situation? Thanks in advance :)
ng-click="$ctrl.updateNameAndRouteTransition(element)"- nörbörnënhrefattribute is specified, then ng-click is not executed ( - Nikolayelement.nameand the transition will make - nörbörnën