Ionic - Custom Header

Hello, I am creating app with ionic, which few pages in it. I want to have a control on creating a custom header. One of example of header could be as below.
image
So, in this example I have a back button, icon for specific page, title of page and border on top and bottom. Format could be slightly different for other page. Is there any way to achieve this where I have full control on what element and style in the header?

thanks

You can use Ionic nav title to write your custom title and use Ionic nav back button to write your custom back button.

About the border, do you that border in a specific view?