[Framework] Log application bootstrapping

Log bootstrapping phase of framework layer initialization.
WTD-518.
This commit is contained in:
Victor Woeltjen 2014-11-04 16:13:09 -08:00
parent d3c979fa6f
commit ed4c178a76
2 changed files with 4 additions and 2 deletions

View File

@ -19,7 +19,7 @@ define(
*
* @constructor
*/
function ApplicationBootstrapper(angular, document) {
function ApplicationBootstrapper(angular, document, $log) {
return {
/**
* @method
@ -28,6 +28,7 @@ define(
* bootstrap
*/
bootstrap: function (app) {
$log.info("Bootstrapping application " + (app || {}).name);
angular.element(document).ready(function () {
angular.bootstrap(document, [app.name]);
});

View File

@ -66,7 +66,8 @@ define(
),
bootstrapper = new ApplicationBootstrapper(
angular,
window.document
window.document,
$log
),
initializer = new FrameworkInitializer(
loader,