plunk - https://plnkr.co/edit/2ptIAdOyaIw8mGqpU7Cp?p=preview
Rundown of what's happening - onload executing function createObjectFromEntityArrayWithKeys(), which formats array of values to add two new keys, one of which belonging to a new value boolean checked. New array, $scope.newEntityArray , is created on the $scope and accessed in my ng-repeat. It is assigned new formatted data.
This stems from an earlier problem - saving the state of an ng-repeat checkbox menu while/after it is/has been filtered.
Because I'm working with an array of only values, I had to alter this to attach a boolean, checked, to each value - leaving me with an array of JSON objects. This enables me to save the state of each checkbox. Problem is I think my mapping is incorrect, or my usage of ng-repeat with object mapping is. I'm really not sure why the list is not being populated. Any help appreciated.
EDIT
I've also tried using two ng-repeats, but same result:
<div ng-repeat="entity in newEntityArray | filter:simpleFilter">
<div ng-repeat="(val, checked) in entity">
<label> <input
style="display: inline-block; margin-top: 5px"
type="checkbox" ng-model="checked"
ng-change="setModalEntity(val,checked)" /> <a>{{val}}</a>
</label>
</div>
</div>