change ui-keypress to ng-keypress, so pressing enter works without dependencies