I am trying to add a new JSON object at a particular index in a json array that is attached to
angular scope. It is rendered in view using ng-repeat. My issue is when i push a new json it is just added to the scope and there is no changes in my view.
But any modification to the already existing data in $scope.historydata is updated in the view.
This is my js code for adding the new json to scope:
I checked in my console where my scope is updated but the view is not. Please post your views.