title: angularJs directive to format date
body: <p>I want to have a functionality in angular which help to enter date and show it in proper format and don't allow invalid values in it. also able to show server returned '20140314T00:00:00Z' json string for date.</p>
  
  <p>Can anyone help me ?</p>