Cannot read property 'removeChild' of null

I encountered this error whenever i try to move between pages in my ionic app, how do I resolve this error