implements two-way data binding for ng-mention
implements simple two-way data binding for contenteditable elements
extracts mention logic to a controller