AngularJS directive for Medium.com editor clone