When loading the page the following error occurs:
<div class="row" ng-show="showChannels">
<div ng-repeat="content in formChannels" class="col-sm-2">
<div class="well alignCenter" ng-click="clickSintonizarCanal($index)">
<img src="{{content.images.image[0].url}}" class="img-responsive imgchannel" alt="{{$index}}">
</div>
</div>
</div>
I understand that is because when you start the page "formChannels" is null. then when formChannels already has a value, everything works OK.
my question is, how do I avoid this unnecessary GET?
there is some way "Standar", Elegant, or simple to do it?
AngularJS has something for these cases?
thank you very much to all!