Edit in JSFiddle

var now = new Date(),
    grp = now.getTime();

console.group(grp);
angular.module('a', [], function(){
    console.log('module a', arguments);
});

angular.module('b', [], function(){
    console.log('module b', arguments);
});

var myApp = angular.module('myApp', ['a', 'b']);

myApp.directive("test1", function() {
    console.log("directive setup", arguments);
    return {
        compile: function() {console.log("directive compile");}
    }
});

myApp.directive("test2", function() {
    return {
        link: function() {
            console.log("directive link", arguments);
            console.groupEnd(grp);
        }
    }
});

myApp.run(function() {
    console.log("app run", arguments);
});

myApp.config( function() {
    console.log("app config", arguments);
});

myApp.controller('myCtrl', ['$scope', function($scope) {
    console.log("app controller", $scope);
}]);

/** Mocks *************************************/
myApp.service('mocks', function (){
    this.fixtures = {};
    console.log("service mocks", arguments);
});

myApp.factory('mocksProvider', function() {
   console.log("factory", arguments);
});

myApp.controller('myCtrl', ['$scope', 'mocks', function($scope, mocks) {
    console.log("mocked app controller", mocks);
}]);
<div ng-app="myApp" ng-controller="myCtrl">
    <div test1 test2> </div>
</div>