1 define(['angularAMD'], function(ng) {
2 var module = angular.module('app.common.finishRender', []);
4 module.config(function($compileProvider) {
6 directive : $compileProvider.register
10 module.directive('onFinishRender', function ($timeout) {
13 link: function (scope, element, attr) {
14 if (scope.$last === true) {
15 $timeout(function () {
16 scope.$emit('ngRepeatFinished');