I'm using ng-style in angularJs to style an element like the following the first part is conditional style that depends on the value of isEdit if it's true pass empty object if not set color to grey , the second style should be applied regarless of the first part.
the code I used didn't seem to work
ng-style="isEdit? {}: {'color': 'gray'}, leftStyle"
is there a way to chain the 2 styles and make them work at once ?