move event handler function to input auto-suggest directive linking function
replace scope.paliWord with scope[attrs.ngModel]