Answer the question
In order to leave comments, you need to log in
Why is data not saved via push?
I created a product list and a customer list. When the form is filled in and the button is clicked, the data should update, but this does not happen. Where is the mistake ?
Answer the question
In order to leave comments, you need to log in
$scope.products.push()($scope.newGood); - what is it anyway? javascript.ru/Array/push
That is, it should be $scope.products.push($scope.newGood)
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question