Ionic Tabs: Using Tab Selected

I Need Help Sorryy I’am New to Ionic, Just Wanna ask how can you do this https://codepen.io/calendee/pen/kaHGK In Ionic 2, (See Link)

Also i want it to be like this See the image Please Help!

Start with the following command:

ionic start myApp tabs