Skip to content

Instantly share code, notes, and snippets.

@Shawful
Last active August 29, 2015 14:07
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save Shawful/a6b4cdbe12767bc66328 to your computer and use it in GitHub Desktop.
Save Shawful/a6b4cdbe12767bc66328 to your computer and use it in GitHub Desktop.
RegCtrl
'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