title: Ionic 3 slide not working with autoplay
body: <p>I am using ionic 3.</p>
  
  <p>Here is my template</p>
  
  <pre><code> &lt;ion-slides autoplay="5000" loop="true" speed="500" class="slides" pager="true"&gt;
        &lt;ion-slide *ngFor="let Image of PImage"&gt;
           &lt;img src="{{Image.URL}}" alt="Product Image"&gt;
        &lt;/ion-slide&gt;
   &lt;/ion-slides&gt;
  </code></pre>
  
  <p>But I am getting this error</p>
  
  <pre><code>TypeError: Cannot read property 'hasAttribute' of undefined
  </code></pre>
  
  <p>How can I fix this issue?</p>
  
  <p>Kindly advice me,</p>
  
  <p>Thanks</p>