ng-repeat works if I create a static array but not if I create the array dynamically.
HTML
<div ng-repeat="item in items">{{ item }}</div>
Code that populates the array and renders what I expect in the HTML
$scope.items = ["a", "b", "c"];
Code that populates the array but renders nothing in the HTML
$scope.items = [];
$scope.items.push("a");
$scope.items.push("b");
$scope.items.push("c");
I should add that when I look at the array in the debugger $scope.items contains the 3 values. It just doesn't render in the HTML.