Created
January 4, 2016 17:31
-
-
Save teknotica/e0b163bf3f50951b5f36 to your computer and use it in GitHub Desktop.
Different ways of setting ng-class
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<div ng-class="[{'class': someFunction()}, variable]"></div> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment