I want to update argument of ng-click of button but not able to do it please help me... my code is in controller
$scope.trCategoryId = 0;
and setting up this value in other function like
$scope.setClick = function (CategoryId) {
$scope.trCategoryId = CategoryId;}
in html i have define bellow
<button ng-click="ActiveTag('step1',{{trCategoryId}},0)" id="btnrename">Create</button>
it is not calling up ActiveTag function
ng-is a no-no. It evaluates variable names against scope inside automatically, no need for the {{}}.