I recently saw some angular code which was like this
angular
.module("MYController", function($scope) {}) // ...
and in my tutorial section we were taught to define is like this
angular
.module("MYController", ["$scope", function($scope) {}]); // ...
my question is what is the difference?