I need to call function in toggle switch by ng-click, but the customerActiveDeactive funtion is not fire.
<a title="Active/ Deactivate" > <input type="checkbox" class="js-switch" ng-init="status=True" ng-model="status" ng-name="status" ng-checked="{{ customer.status|lower }}" ng-click="customerActiveDeactive({{ customer.id }})" /> </a> $scope.customerActiveDeactive = function(id) { console.log("method call"); }