How can I create an log with all the model changes in angular? I know that I can use the $watch service, but I want to build a list like this:
- Changed name from 'test' to 'test2'
- Changed status from 'new' to 'inprogress'
And not all actual changes what the $watch service me gives. Is there a kind of module for this which I can use? Or can I accept the changes once the user is done typing (in case of an text field) or select an different option from an select/radio/checkbox?
If this is not a good practice in Angular, using Node.JS is also an possibility for me.
Comments
Post a Comment