--
You received this message because you are subscribed to the Google Groups "AngularJS" group.
To post to this group, send email to ang...@googlegroups.com.
To unsubscribe from this group, send email to angular+u...@googlegroups.com.
Visit this group at http://groups.google.com/group/angular?hl=en.
hi,
out of curiosity : why the use of $timeout in the updateModel function ? is the getSignature() call asynchronous ? I'm trying to use your example in a similar setup, but in my case it looks like the $timeout isn't needed...
Cool
Pete
...from my mobile.
Hi Eric
You might like to see f you can write some tests for this app.
Also I feel uncomfortable with you having to pass a DOM Id for a button to clear the canvas. Can't you simply clear the model for the same effect?
Pete
... sent from my tablet
It is coupling you to a particular user interface choice. What if you wanted to clear the signature when the user hit the escape key or when they swipe across the screen?
Pete
...from my mobile.