Skip to main content

All Questions

Filter by
Sorted by
Tagged with
0 votes
1 answer
685 views

angularjs - ngswitch with 4 conditions

I need to write an angular ng-switch with 4 conditions. Some other answers here on SO suggest using ng-if instead of ng-switch. And so I tried with the ng-if, but I don't really think this is the ...
Nick's user avatar
  • 14.3k
0 votes
1 answer
128 views

How to put $last ngRepeat result out of href?

Is there any option to put $last ng-repeat result like this <li class="active">Four</li> instead of <li><a href="#">Four</a></li> ? I have been trying with ng-if ...
Mo.'s user avatar
  • 27.6k