AngularJS not refreshing ngRepeat when updating array
问题 I'm having serious troubles understanding AngularJS sometimes. So I have a basic array in my controller like $scope.items = ["a","b","c"] I'm ngRepeating in my template over the items array ng-repeat="item in items". Super straightfoward so far. After a couple of UX actions, I want to push some new stuff to my array. $scope.items.push("something"); So, 50% of the time, the new element is added to the view. But the other 50%, nothing happens. And it's like super frustrating; bc if I wrap that