Angularjs Promise In Foreach
I have method for getting data from server. And I use it in foreach, and after it need bind him to $scope variable. Like this: var qualityMix = []; var engagementMix = []; angular.
Solution 1:
You can use ng-if and draw graph when you already have value
example:
<div class="section" ng-if="qualityScoreByTimeMix">
<highchart id="mix_quality_score_by_time" type="area" data="qualityScoreByTimeMix" chart-style="qualityScoreMixChartStyle"></highchart>
</div>
Post a Comment for "Angularjs Promise In Foreach"