What is the magic behind auto resolving dependencies in AngularJS?
angular
.module('app', [])
.service('appService',
function appService (firstService, secondService, thirdService) { }
How are firstService, secondService, thirdService automatically injected?