 angular.module('my-app', [])
      .controller('UserController', ['$scope', function($scope) {
        $scope.user = {};
 
        $scope.submit = function($event) {
      var error = true;
			if($scope.userForm.email.$valid&&$scope.userForm.contrasena.$valid){
			error = false;
			}
			if(error) $event.preventDefault();
		
        };
 
      }]);
@@ -157,17 +157,16 @@
 ($event)
- 
 %7B%0A      
@@ -276,17 +276,43 @@
 lse;%0A%09%09%09
-%7D
+%0A%09%09%09%7D%0A%09%09%09alert(%22holaaaaa%22);
 %0A%09%09%09if(e
@@ -344,16 +344,18 @@
 lt();%0A%09%09
+%09%09
 %0A       

prueba login angualar