Hello, Sanders Elias

Thanks for your reply. I had already done that before resorting to the
angular group.

This is what I did to resolve my issue.

*<div outerdirective>*
*  <div ng-repeat="element in list" rendered>*
*   ...*
*  </div>*
*</div>*

Basically I created a directive* rendered*, which triggers an
*$emit*event. Then inside
the outerdirective I add an *$on*, to catch the event and get a copy of
each element rendered with ng-repeat.

This works perfect, but I was wondering if it's good practice...

If not, may I ask for a small example ( e.g. plunk ) that does this without
events?

Thanks






2014-01-28 Sander Elias <[email protected]>

> Hi Jake,
>
> Have a look at the pre and post link functions.
>
> Regards
> Sander
>
> --
> You received this message because you are subscribed to a topic in the
> Google Groups "AngularJS" group.
> To unsubscribe from this topic, visit
> https://groups.google.com/d/topic/angular/ZzYUvojnEBE/unsubscribe.
> To unsubscribe from this group and all its topics, 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/groups/opt_out.
>



-- 
JAKE KWON +1 (604) 655 3109
email: [email protected]

-- 
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/groups/opt_out.

Reply via email to