Below is my HTML code:
<p ng-if= "editMode=='edit'" style="margin-left: 1px;margin-top: -2px;">===some messages---</p>
<p ng-if= "editMode=='addNew'" style="margin-left: 1px;margin-top: -2px;">===some messages---</p>
In the example above, there are two different views labeled "edit" and "addNew", both displaying the same content but with different styles. How can this be achieved?