Skip to content

Commit

Permalink
Made AngularJS controllers minification-friendly. Closes #1
Browse files Browse the repository at this point in the history
  • Loading branch information
Zemke committed Dec 18, 2014
1 parent 23bd014 commit 9333745
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 6 deletions.
4 changes: 2 additions & 2 deletions public/js/controllers/GeekCtrl.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
angular.module('GeekCtrl', []).controller('GeekController', function($scope) {
angular.module('GeekCtrl', []).controller('GeekController', ['$scope', function($scope) {

$scope.tagline = 'The square root of life is pi!';

});
}]);
4 changes: 2 additions & 2 deletions public/js/controllers/MainCtrl.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
angular.module('MainCtrl', []).controller('MainController', function($scope) {
angular.module('MainCtrl', []).controller('MainController', ['$scope', function($scope) {

$scope.tagline = 'To the moon and back!';

});
}]);
4 changes: 2 additions & 2 deletions public/js/controllers/NerdCtrl.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
angular.module('NerdCtrl', []).controller('NerdController', function($scope) {
angular.module('NerdCtrl', []).controller('NerdController', ['$scope', function($scope) {

$scope.tagline = 'Nothing beats a pocket protector!';

});
}]);

0 comments on commit 9333745

Please # to comment.