Hi Midnightoil, The best way to solve this, is to create a couple of directives that work seamless to provide what you need. I modified your plunker <http://plnkr.co/edit/RJ16R2GtYfTl6jspGkQa?p=preview>to work. First step, I created a holder directive, to make communication along siblings easier. In this case it's really simple, as I just need to encapsulate 1 function. second step, modify your directive to utilize the holder directive. third step, add an track-by to the repeat, to prevent the destruction/rebuild of the scope on every iteration of the $timeout in your service. (every step it creates a new object, so the repeat without track-by will create new items on every iteration).
Cleaned out code that became irrelevant. If you still have questions, just ask them, Regards Sander -- 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.
