How to update ng-repeat data dynamically using angularJS


#1

`



{{data.question}}
`

I want to add one more question and also it should update the data which is in ng-repeat. Please, let me know the solution


#2

in your controllers you can add you data to you list like

$scope.list.push(data)

#3

I have a similar problem. Pushing data onto my array doesn’t cause the view list to grow. It just stays with the number that were in it when first rendered. Other data bindings (i.e not lists) are refreshing on the same page.


#4

It has something todo how you get new array entries.
If you do not use Javascript events to do this angular will update the items automatically.