Great, many thanks!!!

I googled $timeout() and it turned out to be exactly what i was looking for!

On 02/20/2014 07:52 PM, Sander Elias wrote:
Hi Ivan,

hmm, not sure about it, just test it. If it does not work like you
expected, put iy inside a timeout, liek this:

|$timeout(function () {
    scope.$emit('widgetsAreShuffled');
},0);
|

that will put it in the NEXT digest cycle, probably the dom is done by
then ;)

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/sgeTMuZCXyQ/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.

--
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