3 questions
10
votes
3
answers
15k
views
Implementing ngClassEven ngClassOdd for angular 2
I tried to implement ng-class-even and ng-class-odd ( from angular 1) type behaviour in angular 2 application.
I have written the code below and its working fine, I want to know if there is any other ...
1
vote
1
answer
870
views
Angular nested ng-repeat class variable
So I have a fairly complex angular table, and I have the repeating portion all good to go, but when I set a variable with ng-class-even and ng-class-odd, the variable doesn't seem to persist. Maybe I'...
5
votes
3
answers
6k
views
ngClassOdd/ngClassEven not working as expected
Using Angular version 1.2.15, I found a bug that it seems started on version 1.2.2 until 1.2.15.
Plunker Demo to reproduce
Html
<body ng-app="">
<ol ng-init="names=['John', 'Mary', '...