Naturally, it's good if the saving process happens every time you press the Save button.
However, if possible, wouldn't you prefer to have the Save button available only when changes have been made?
Here, we will implement the logic into the controller that will judge whether or not changes have been made after an input.
First, we will implement a simple form from
MyAccount. But, before that,
Bill separated the controller, but we didn't make the change in
MyAccount! Let's separate it quickly and add it to
MyApp.controller.bill.Edit class as reference, let's go ahead and make the
Apart from the class name, it's exactly the same ...