My code
<span data-ng-repeat="s in d.sInfo track by $index" title="{{ s.sFirstName }} {{ s.sLastname }}">
<strong>{{ s.sFirstName }} {{ s.sLastname }}</strong> ({{ s.permission }})<br>
</span>
What i want is that if login user and shared user are same then i will show "YOU"
i am trying something like this ,
<strong>{{ s.sFirstName }} {{ s.sLastname }} || s.name == s.FirstName s.Lastname |"YOU"</strong> ({{ s.permission }})
I can do a loop in controller .But is there any way to achieve this in view itself