password pattern in javascript angularjs pattern validation not working angularjs phone