jsoneditor in directive