Adding $watches to Track Scope Change Events

Another common event that you will be using is triggered not by the browser, but by changes to the data in the model. This capability enables you to react to model changes without having to add code at every point where the values might change. This capability is useful because often the data in the model might be changing in various ways—user input, service updates, and so on.

..................Content has been hidden....................

You can't read the all page of ebook, please click here login for view all page.
Reset