Ionic history not contain some page details

I have 3 pages.First I visited page1 and go to page2 and go to page3 then go to page2 that page detail not store in the ionic history.But If I go to page2 to page1 that detail successfully store in ionic history.I don’t know why?
Any one help me

Hi jarachanthan,
I want to save the history what i should do…this is correct for storing history using $ionic history