I've just figure it out a way ... using directive ng-if="users". I guess 
this is a better solution :)

Em domingo, 26 de outubro de 2014 11h40min51s UTC-2, Diego Freitas escreveu:
>
> Hey guys,
>
> I have this directive call:
>
>
> <div class="tab-pane" id="1" month-details days="days" users="users"></div>
>
>
> Since users is retrieved by promise, the directive link's function 
> executes before the promise finishes.
>
> I was trying to use $scope.$emit('event') and watching it on the directive 
> although it didn't work doesn't look a good solution for me.
>
> Does anybody can help?
>
> Thanks,
>
>
>

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

Reply via email to