Best way to establish an application with a constant Header element(s), in which templates will be inserted below?

Here is what I want: Top navigation bar and bottom menu bar
So I want a navigation bar with icons on top of my app, that allow to navigates between different views (and that is shared between them).
but I don’t want a header for my views (only some content without a title header bar or whatever).
So I want something rendering like this (which is pure angularjs code, not ionic one):
http://codepen.io/danielemoraschi/pen/deyos
but without having to redefine the top navigation bar (with the friends and favorites icon) in each template view (as it is done in this code. but I assume there must be a way to define it once for all out of the view templates…)