New to angularjs. I don't really get the angular documentation's explanation on the role of the [ $scope .... as an array. What does inline injection annotation means to this code?
var myApp = angular.module('myApp',[]);
myApp.controller('GreetingCtrl', ['$scope', function($scope) {
$scope.greeting = 'Hola!';
}]);