I have following code snippet in my project
<div class="form-horizontal well text-center" id="func_85" ng-if="prmissionlist.indexOf('chkfunction_85') >= 0">
<button class="btn btn-primary" type="button" id="btn_branch_save">
Save
</button>
<button class="btn btn-primary" type="button" id="btn_new_branchcancel">
CANCEL
</button>
</div>
But the button click is not working inside the ng-if
div (button click is written in js file using jQuery selector.)