am new to angular js using this
ihave to perform following operation
i have a text name bob.and a button like bold and italic
while cliking on the bold button i want to bold the
Try to use the directive ng-class. Create two boolean, and set values when you click on the buttons. When the boolean is changing, the ng-class is updating.