I want to set value into ns-click dynamically, i mean that:
<td ng-click="{{schedule.action}}" ng-init="schedule.action=schedule.action" ng-repeat="schedule in room.Schedule">{{schedule.firstName}}</td>
i'm getting the following error message:
Error: [$parse:syntax] Syntax Error: Token '{' invalid key at column 2 of the expression [{{schedule.action}}] starting at [{schedule.action}}].
How to solve this problem?