Easiest way to defer code to next cycle is using `$timeout(codeIwantInNextCyle,0)` That is something that just is needed sometimes. Usually when setting up stuff in 1 element, that you then need in another element. This is indeed a code smell, and you should hand over the data more explicit, so this crux isn't needed at all. But as I said, sometimes you just have to wait a bit. I don't have time to figure out what is the exact reason it needs to be deferred in your use-case tough.
-- 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.
