how to update ng-repeat data dynamically using angular 6