how o check if value is number angular code example
Example: value should be numeric in angular check
if ( !isNaN(ticketPinOrEvent) && angular.isNumber(+ticketPinOrEvent)) {
}
if ( !isNaN(ticketPinOrEvent) && angular.isNumber(+ticketPinOrEvent)) {
}