I\'m fairly new to Javascript ( just finished the book Eloquent Javascript ), and am currently reading AngularJS from O\'Reilly. And getting this small snippet of code to w
Because the Angular uses the name of the parameter in its dependency injection system, which constructs the controller.