title: Delay code using debounce in angularjs
body: <p>I have to write email verification function in angularjs. I want to make a post request after 2 second when user has done editing with email id. Is there any pre defined method in angularjs for this. <a href="http://jsfiddle.net/Qdk5M/1944/" rel="noreferrer">fiddle</a></p>
  
  <pre><code>var app = angular.module('form-example', []);
      app.controller('formctrl',function($scope){
          var ctrl= this;
          ctrl.verifyEmail= function(){    
          console.log('hiiii')
          }
  
      })
  </code></pre>