title: Integer only validation for angularjs ng-pattern
body: <p>How to validate positive integer numbers using <code>ng-pattern</code>. Now i have this pattern <code>^[0-9]{1,7}(\.[0-9]+)?$/</code>. But it allows decimal values. I need to disallow decimal values too</p>