JSFiddle - React, Tailwind, and code Playground
HTML
<div ng-app>
<div ng-controller="NestedCtrl">
<article ng-repeat="member in myArray">
Some data
</article>
</div>
</div>
JavaScript
function NestedCtrl($scope) {
$scope.myArray = [];
var callMe = function(){
if(typeof $scope.myArray['someId'] == 'undefined') {
$scope.myArray['someId'] = {
name: 'Hello',
data: []
};
}
$scope.myArray['someId'].data.push({nested : 'yay'});
// Uncomment to see view update
// $scope.myArray.push({nested : 'yay'});
}
callMe();
}