angular/angular.js — pull request #7262 by shahata (2014-04-26 14:27:59+00:00)
Title: fix(ngClass): handle index change correctly

changed the odd/even calculation to be done using modulo operation instead of bitwise operation. the bitwise operation caused issues with operator precedance (`mod !== old$index & 1` is actually parsed as `(mod !== old$index) & 1` and not `mod !== (old$index & 1)` as might be expected). decided it is better to just use modulo operation for readibility instead of adding parentheses.

fixes #7256