Last active
August 29, 2015 14:07
-
-
Save Shawful/a6b4cdbe12767bc66328 to your computer and use it in GitHub Desktop.
RegCtrl
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
'use strict'; | |
app.controller('regCtrl', ['$scope', function ($scope) { | |
$scope.awesomeThings = [ | |
'HTML5 Boilerplate', | |
'AngularJS', | |
'Karma' | |
]; | |
$scope.validateContact = function () { | |
console.log("validating contact info"); | |
console.log("email info:"); | |
console.log(registration.email.$error); | |
}; | |
}]); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment