I have this situation where I need to capture the event when a model is changed but the initialization in my directive triggers the event too early.
Plunker: http://plnkr.co/edit/2T0Rq6yOXHWxQAOv8RpX?p=preview
How can I overcome this? Setting some flags, but how/where? Other approaches?
Thanks!
UPDATE
I added the value attribute to the directive so you can understand better what I mean by initialization.
Plunker: http://plnkr.co/edit/a5fzJi7VzAytj3Urj06L?p=preview