Sander,
I have tried using a directive. However, that failed. For your information,
I have a controller that loads data using $q.all and that data is assigned
to a scope variable. I then used that variable in the directive with
'element.appned("...." + scope[attrs["myExpression"]] + "...")'. However,
the directive is executed before $q.all finished and once $q.all finished
and the scope variable is set the directive does not update (I assume it's
not assigned to do so). Now I could move all the controller code into the
directive and do my $q.all there but I assume that would be bad design.
--
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.