After further review, apart from the done callbacks I can't identify a reason to use the $animate service instead of using the angular.element API. Am I missing something?
On Sun, Feb 9, 2014 at 5:22 PM, Mark Volkmann <[email protected]>wrote: > I can append one element to another with either of these approaches: > > parent.append(child); > $animate.enter(child, parent); > > where parent and child are both angular.element objects. > > Are there advantages to using $animate for this case? > The only difference I see is that the $animate enter method has a done > callback. > > -- > R. Mark Volkmann > Object Computing, Inc. > -- R. Mark Volkmann Object Computing, Inc. -- 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.
