Could be a variation of things.  Please post a short plunker.

On Monday, June 1, 2015 at 9:44:33 AM UTC-4, Michael Cherkasov wrote:
>
> Hi there,
>
> there's my code: https://gist.github.com/anonymous/8cb675d8accc3e970e63
>
> I load data via AJAX and populate the data to controller variable that is 
> bound to DOM, it should be rendered 
> to list of links, right after this I need to click the first link:
>
> loadEngineersList( function(engineers) {
>     $scope.engineers = engineers; // data propagation
>     $('#bugsTable a:first').click(); // click
> });
>
> But clicking doesn't work, because link doesn't exists at this moment and 
> model isn't rendered yet.
>
> I have on click event that loads other data, so what is right way to activate 
> loading and link selection?
>
> Thanks,
> Mikhail.
>
>
>
>
>

-- 
You received this message because you are subscribed to the Google Groups 
"AngularJS" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/angular.
For more options, visit https://groups.google.com/d/optout.

Reply via email to