I would like to call a function after AngularJS renders the contents in the template, just as it removes display:none
when using ng-cloak
.
function executaAposRenderizar(){...}
app.controller('lista', ['$scope', function($scope) {
$scope.itens = [...]
// executaAposRenderizar();
}])
How to call a function after AngularJS has printed the content in the template?