title: Prev and Next buttons in Angular
body: <p>I want to go from page 1 to page 4, in Angular 4, with a prev and next button.
  Each page, from 1 to 4, is a individual component.</p>
  
  <p>My buttons component is on the bottom on each page.</p>
  
  <pre><code>&lt;div class="d-flex flex-row"&gt;
   &lt;div class="trade-75"&gt;&lt;button type="button" class="btn trade-back"&gt;
  
   &lt;/button&gt;&lt;/div&gt;
   &lt;div class="trade-10"&gt;&lt;button type="button" class="btn trade-next"&gt;
  
   &lt;/button&gt;&lt;/div&gt;
  &lt;/div&gt;
  </code></pre>
  
  <p>I was thinking to put in an array all components and to loop thought this array, but I don't know how to do this in Angular 4 :). Is there anyone who can help me?</p>