Assuming validation is successful, how do i then call this Jquery event...
<script>
$('#login').click(function() {
//blah blah blah...
});
</script>
From this AngularJS function
<script>
// create angular app
var validationApp = angular.module('validationApp', []);
// create angular controller
validationApp.controller('mainController', function($scope) {
// function to submit the form after all validation has occurred
$scope.submitForm = function() {
// check to make sure the form is completely valid
if ($scope.userForm.$valid) {
// Call my Jquery function here
}
};
});
</script>