Ionic 2 $IonicHistory using typescript


I can see we have $IonicHistory in Ionic but how to clear cache in Ionic 2.

I tried nav.setroot

My problem is that i am using auth to login.i am not storing token so i just need to clear the cache.But dont know how to do so in Ionic 2.

Please help me i tried using angular 2 this._templateCompiler.clearCache();