title: Autofocus in a modal Angular 4 doesn't work
body: <p>I have to focus the input at the loading of a modal but if I use the html5 attribute <code>autofocus</code> it seems not working.
  Is it possible to make it works?</p>
  
  <pre><code>&lt;div class="col-md-6"&gt;
   &lt;div class="form-group label-floating"&gt;
    &lt;label class="control-label"&gt;
      {{'ticketbundle.busroutedetail.dialog.labels.buslinename'
       | translate }}&lt;span class="star"&gt;*&lt;/span&gt;
     &lt;/label&gt;&lt;input autofocus class="form-control" id="name" required
     [(ngModel)]="busRouteDetail.name" name="name" #busRouteDetailname&gt;
   &lt;/div&gt;
  &lt;/div&gt;
  </code></pre>
  
  <p>I am using angular material 2</p>