<div ng-app="myApp" ng-controller="myCtrl">
<button type="submit" class="btn btn-primary pull-left" ng-
disabled="captchaError">Submit</button>
</div>
<script>
var app = angular.module('myApp', []);
app.controller('myCtrl', function ($scope) {
$scope.captchaError = true;
});
</script>
Presenting my code snippet. I have configured captcha
error to true result in disabling the button. My concern is when this page is launched and a user inspects that button, removing the disabled="disabled"
attribute from the element will enable the button. Is there any method to anticipate this scenario and ensure that the button does not activate upon removal of disabled="disabled"