I'm currently developing an AngularJS web application.
What I'm trying to achieve:
List both sets of arrays within one list using ng-repeat and remove null values.
e.g
Value One A, Value One B, Value Two A, Value Two B
Current Problems:
When using ng-repeat it keeps display the array set ["Value One A",null,null,null,"Value Two A"] & ["Value One B",null,null, null,"Value Two B"] instead of listing seperate values.
Any help / advice would be helpful!
Array:
[["Value One A",null,null,null,"Value Two A"],["Value One B",null,null, null,"Value Two B"]]
HTML:
<md-list-item class="md-3-line" ng-repeat="item in items">
<div class="md-list-item-text">
<p>{{item}}</p>
</div>
<md-divider ng-if="!$last"></md-divider>
</md-list-item>
HTML 2:
<md-list-item class="md-3-line" ng-repeat="item in widgetfour_improve">
<div class="md-list-item-text" ng-repeat="itm in item">
<p>{{itm}}</p>
</div>
<md-divider ng-if="!$last"></md-divider>
</md-list-item>