I have simple Form validation, when Form is submitted
$scope.error shows error if there is any exist
<div class="card" ng-show="error">
<div class="item item-text-wrap assertive">
{{error}}
</div>
</div>
Is there way to reset $scope.error if any element in form gets focused?