title: Ionic2 - check if page is active
body: <p><strong>How can I check if a ionic2 page is active?</strong></p>
  
  <p>For example I want to hide a button if a page is active:</p>
  
  <pre><code>&lt;button primary [hidden]="isActive('actualPageName')"&gt;
       Should be hidden
  &lt;/button&gt;
  </code></pre>