Directive is being rendered before promise is resolved

As stated in an official thread about this issue (quickly closed as “won’t fix because it would make directives wait”), a workaround is to wrap your directive in a ng-if :

<div ng-if="myPromiseParam">
  <my-directive param="myPromiseParam">
</div>

Leave a Comment

Hata!: SQLSTATE[HY000] [1045] Access denied for user 'divattrend_liink'@'localhost' (using password: YES)