Thanks a lot to user bc on IRC. I'm sure I would have wasted another hour ;)
Pawel Kozlowski
unread,
Mar 18, 2013, 7:38:48 AM3/18/13
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to ang...@googlegroups.com
Hi!
While your plunker works I would suggest to move scope.apply to the
sending end since in there you _know for sure_ that you are "outside
of AngularJS world" (DOM event handler):
http://plnkr.co/edit/adtGAiwkgxXRMBb691Fa?p=preview
Personally I wouldn't probably use events here and simply relay on
data binding here, but feel free to ignore this remark as I'm not 100%
sure what is the purpose of your directive :-)
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to ang...@googlegroups.com
Thank you Pawel, that makes sense. I have changed my code accordingly. The Plunker was a very simplification of my problem, in reality I would rely on data binding as well :)