I would like to use a scope variable and and set css dynamically within html.
<div ng-class="myClassScope, { 'dynamic-class': !ifIsNot }">
I would like to use a scope variable and and set css dynamically within html.
<div ng-class="myClassScope, { 'dynamic-class': !ifIsNot }">
Is this what you want?
<div ng-class="{ 'dynamic-class': !myClassScope }">
EDIT:
If you want to use multiple ng-class directives, it won't work. See this fiddle
In order to use two ng-class directives, you can nest the elements, or you can bind to the class attribute:
<div ng-class="test_one">
<div ng-class="{ 'test_two': !test_two }">test_two</div>
</div>
<div class="{{test_one}}" ng-class="{ 'test_two': !test_two }">test_three</div>