AngularJS directive to overcome browser inconsisteny when using line breaks in contenteditable.