AngularJS - targeting elements inside an ng-repeat loop on $(document).ready

angularjs, jquery

Solution

This blog post discusses listening to the `$viewContentLoaded` event in your controller to call your function instead of using `$(document).ready`:

function stuffController($scope) {
    $scope.$on('$viewContentLoaded', readyFunction);
}

Problem

Being new to AngularJS, I'm looking for a way to target elements inside an `ng-repeat` loop after `$(document).ready` is fired. They don't seem to be ready at the time however. Thanks for any help.

Original source