Removed unused $timeout dependency from on-finish-render.client.directive.js
This commit is contained in:
parent
175ee4cd8a
commit
43365fb3fc
|
@ -1,6 +1,6 @@
|
|||
'use strict';
|
||||
|
||||
angular.module('forms').directive('onFinishRender', function ($rootScope, $timeout) {
|
||||
angular.module('forms').directive('onFinishRender', function ($rootScope) {
|
||||
return {
|
||||
restrict: 'A',
|
||||
link: function (scope, element, attrs) {
|
||||
|
@ -18,7 +18,6 @@ angular.module('forms').directive('onFinishRender', function ($rootScope, $timeo
|
|||
});
|
||||
} else if(scope.$last) {
|
||||
scope.$evalAsync(function () {
|
||||
// console.log(broadcastMessage+'Finished');
|
||||
$rootScope.$broadcast(broadcastMessage+' Finished');
|
||||
});
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue