An AngularJs widget with <canvas> element