2
I am new to Angularjs and I have the following situation:
I have a list of categories and, within this list of categories, there’s a product listing of that category.
Example: Smartphones > Galaxy, iPhone, etc...
The problem is that I can’t save the edit I make of that array of products that are within the category array.
I created a Codepen to illustrate this situation better.
I understand that the $scope.save
is saving the table, not the content, but I have no idea how to save the content instead of the table.
I’d really like your help, thanks in advance.
Wow! It worked perfectly! Thanks for the guidance, I’ll take a look at this angular.merge to better understand its function. Thank you so much!!
– Bernardo Sampaio
I’m glad it worked, @Bernardosampaio!
– OnoSendai