title: How to close the p- calender after selecting date in angular2
body: <p>I have used prime ng calender, when i select the date, the calender is not closing
  How do i close the calender  after selecting date.</p>
  
  <p>HTML:</p>
  
  <pre><code> &lt;p-calendar [monthNavigator]="true" [yearNavigator]="true" yearRange="1910:2020" showButtonBar="true" showTime="true" dateFormat="mm-dd-yy"
                placeholder="mm-dd-yyyy" formControlName="End" [minDate]="yesterday" class="pull-left"&gt;&lt;/p-calendar&gt;
  </code></pre>
  
  <p>For reference i am adding link</p>
  
  <p><a href="https://stackblitz.com/edit/angular-vjupfn?file=src%2Fapp%2Fapp.module.ts" rel="nofollow noreferrer">https://stackblitz.com/edit/angular-vjupfn?file=src%2Fapp%2Fapp.module.ts</a></p>