How to disable ui router?


I am developing a single-view application and I would like to take control of document location hash myself. But when I use ionic, it controls the hash, causing weird errors. I am pretty sure it is the ui router “plugin”, how can I remove it?