thing_editor.js -- an angular directive to manage the thing editin canvas