force view to reload in ionic2 framework
<p>After going through <a href="https://stackoverflow.com/questions/25192172/force-view-to-reload-in-ionic-framework">Clear History and Reload Page on Login/Logout Using Ionic Framework</a></p>

<p>I want to know same question, but for ionic2 using typescript.</p>

<p>On login and logout I need reload the <code>app.ts</code>, because there are classes that run libraries on construct. </p>

<p>it would be basically redirect to home and reload. </p>