Created
June 18, 2017 02:44
-
-
Save DevEarley/19dcabccb7c24abaaf7b4c1fa3d2be1f to your computer and use it in GitHub Desktop.
Your everyday angular controller.
This file contains hidden or 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'; | |
var myApp = angular.module('myApp'); | |
myApp.controller('SomeController', ['$scope', '$rootScope', '$location', | |
function ($scope, $rootScope, $location) { | |
}]); | |
//OR | |
//'use strict'; | |
angular.module('myApp').controller('SomeController', | |
function ($scope, $rootScope, $location) { | |
}); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment