myApp.controller('MyController', function($scope) { ... }); // non-minified code
myApp.controller('MyController', ['$scope', function($scope) { ... }]); //support minification
function MyController(){}
MyController.$inject = ['$scope'];
myApp.controller('MyController', MyController)...