Hi Barrie, Use the ngOnChanges life-cycle hook. it gets called on any change. You have to manually do something in there to watch for a property change, but that's the place to do it. As your sample lacks context, I can't say if there is a better, more predictable ways as monitoring data for changes. In most use cases, doing this sort of thing is considered an ugly hack.
Regards Sander -- You received this message because you are subscribed to the Google Groups "Angular and AngularJS discussion" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. Visit this group at https://groups.google.com/group/angular. For more options, visit https://groups.google.com/d/optout.
