Run a directive after the DOM has finished rendering AngularJS -
i have object api take considerable time, want directive wait till gets data.
you can read on ngif. data stored in $scope.data
. if have this
<div ng-if="data"></div>
this div injected in dom when $scope.data
exists, means can make wait data before gets injected in dom.
Comments
Post a Comment