(function() { "use strict"; angular.module("raz") .directive('tableRepeatEmit', function () { return function (scope, element, attrs) { if (scope.$last) { scope.$emit('SSTableLastElem'); } } }); })();