title: Redirect to other page in ionic framework v3
body: <p>I am new to ionic framework. I am trying to redirect to other page on button click in ionic framework version 3. I did not get enough source on this. I tried <code>location()</code> and <code>go()</code> functions but it did not work.</p>
  
  <p>This is my code in newpage.html :</p>
  
  <pre><code>&lt;button ion-button block (click)="click()"&gt;Click me&lt;/button&gt;
  </code></pre>
  
  <p>This is my code in newpage.ts :</p>
  
  <pre><code>  click() {
    this.go('/HomePage');
    }
  </code></pre>