angular-canvas-painter
angular-canvas-painter copied to clipboard
exposing canvas and canvastmp in options
so I can access in the controller using the painter. btw, I couldn't figure out, why there are two canvases, the tmp canvas can maybe be omitted from exposure?
sorry for the delay, i don't think exposing the canvas in the options is a good way to do it, the options object should be used only for configuration. perhaps it is better to expose the canvas through an extra service. another option would be to expose it as a scope property or through a callback function. what do you want to do with the canvas? get the image or also other stuff?
cheers phil