JSFiddle - React, Tailwind, and code Playground
HTML
<!doctype html>
<html ng-app="myApp">
<head>
<script src="http://ajax.googleapis.com/ajax/libs/angularjs/1.0.2/angular.min.js"></script>
<script src="http://code.jquery.com/jquery-1.8.3.min.js"></script>
<script src="script.js"></script>
</head>
<body>
<div ng-controller="Ctrl">
<div class="thing" ng-repeat="thing in things" on-finish-render>
thing {{thing}}
</div>
</div>
</body>
</html>
JavaScript
angular.module('myApp', []).controller('Ctrl', function($scope){
$scope.things = [
'A', 'B', 'C', 'D'
];
})
.directive('onFinishRender',['$timeout', '$parse', function ($timeout, $parse) {
return {
restrict: 'A',
link: function (scope, element, attr) {
scope.$watch('$last',function(newValue){
if (scope.$last) {
$timeout(function () {
console.log("ng-repeat Done..")
// Loading some scripts
});
}
});
}
}
}]);