I have an element which is automatically generated via my API call as 

```
<a target="_blank" href="http://www.work.com/reward"><b class="orange tdu">My Work History</b></a>

```

now i want to modify it like 

```
<a ng-click="message(messageItem.id)">

```

i.e I want to remove the original properties and add angulars ng-click to it.

**I cannot use JQuery.**