Used pattern :
ng-pattern="/^\d{0,9}(\.\d{1,9})?$/"
Used reference file:
'<script src="https://ajax.googleapis.com/ajax/libs/angularjs/1.0.6/angular.js"></script>'
Example for Input:
<input type="number" require ng-pattern="/^\d{0,9}(\.\d{1,9})?$/"><input type="submit">