This repository was archived by the owner on Apr 12, 2024. It is now read-only.
This repository was archived by the owner on Apr 12, 2024. It is now read-only.
Closed
Description
I'm submitting a ...
- bug report
- feature request
- other (Please do not submit support requests here (see above))
Current behavior:
When using ng-class with an expression that evaluates to an array, the classes are not added.
Expected / new behavior:
The classes defined in the objects of the array should be applied to the DOM element when their expression is true.
Basically the third way in which the ng-class directive operates as explained in the docs.
Minimal reproduction of the problem with instructions:
Toggle 1 should change the background color of both boxes.
This works in Angular 1.6.3 but it stops working with Angular 1.6.4.
By changing the angular version number you can see the different behavior.
http://plnkr.co/edit/GARSFyXFLKA00oa4Julz
Angular version: 1.6.4
Browser: [all]