add input type=text for pali word input and detect changes of pali word input by ng-change (must be used with ng-model)