added angular-sanitize module for rendering html. cleaned up initialization sequence for editor/note