input type="text" name="bankCardNo" ng-model="bankData.bankCardNo"
required="true" placeholder="Bank Card" maxlength="20" ng-change="bankCardChange()"
this code is worked good, but when I change to <input type="number" ... , a error will happen:
TypeError: undefined is not a function
at Scope.$scope.bankCardChange
Maybe it is a angularJs bug.