Quantcast
Channel: MarsHut
Viewing all articles
Browse latest Browse all 6551

Template properties within javascript function call

$
0
0
Using angular UI Bootstrap and trying to get the $modal to work. I am
trying to pass the id of the notification with the open function call. The
below code does not work, it just returns "{{notification.id}}" to the
function.

<td><button class="btn btn-info"
ng-click="open('{{notification.id}}')">Edit</button></td>

Viewing all articles
Browse latest Browse all 6551

Trending Articles