Ionic Tab Routing question

hello ,
i have a question about url routing


first i click the tab b to go tab b page
in tab b have a button to tab a2
when i go to tab a2
there is no button go back to tab a1
the back the gone
how can i get back tab a1?