From 5e684177afc53dc2baee0378f65dbf2d33825046 Mon Sep 17 00:00:00 2001 From: Grant Harris Date: Wed, 3 Feb 2016 13:36:40 -0800 Subject: [PATCH] fix(uiLayoutLoaded): convert directive's di to use array notation --- src/ui-layout.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/ui-layout.js b/src/ui-layout.js index 02bed9c..223b591 100644 --- a/src/ui-layout.js +++ b/src/ui-layout.js @@ -963,7 +963,7 @@ angular.module('ui.layout', []) }; }]) - .directive('uiLayoutLoaded', function($timeout, Layout) { + .directive('uiLayoutLoaded', ['$timeout', 'Layout', function($timeout, Layout) { // Currently necessary for programmatic toggling to work with "initially" collapsed containers, // because prog. toggling depends on the logic of prevButton and nextButton (which should be probably refactored out) // @@ -991,7 +991,7 @@ angular.module('ui.layout', []) } } }; - }) + }]) .factory('Layout', ['$q', '$timeout', function($q, $timeout) { var layouts = [],