json-editor directive in coffescript