This commit is contained in:
Tommy Parnell
2016-10-08 09:22:13 -04:00
commit 02e6c893f5
4 changed files with 39 additions and 0 deletions

21
script.js Normal file
View File

@@ -0,0 +1,21 @@
// Code goes here
(function(){
var app = angular.module('awesome', []);
var mainController = function($scope){
if(!$scope.username){
$scope.username = "defaults brah";
}
$scope.runMe = function(){
alert($scope.username);
}
};
app.controller('awesome', mainController);
})();