ng-repeat implemented to add values dynamically