AngularJs 1.5 - Component Based Architecture, Bindings and Good Practices
问题 following my question Angularjs 1.5 - CRUD pages and Components I've some additional design questions on component based architecture. 1- By Guidelines, if I have a child component with bindings from a parent, I should handle data manipulation on the parent. SO, were do I save data, for instance, in the parent or in the child ? Example <my-child on-save="$ctrl.save"></my-child> MyChild component contain a form for saving data. In this scenario, where I should save data, in parent or child ?