linked doodle directive to the scope
added a watch expression so that doodle redraws from scope. seriously trippy bug if you change val while still drawing  previous val.