ionic Header and Footer
Header
Header is a component fixed at the top of the screen; it can contain a title and left/right function buttons.
ionic provides many color styles by default; you can call different style names, and of course you can customize one.
bar-light
bar-stable
bar-positive
bar-calm
bar-balanced
bar-energized
bar-assertive
bar-royal
bar-dark
Sub Header
Sub Header is also fixed at the top, just below the Header; even if no Header is written, the Sub Header style keeps a Header's distance from the top. Color styles are the same as Header.
Footer
Footer is at the very bottom of the screen and can contain various content types.
Footer is the same as the Header above, except the style name bar-header is replaced with bar-footer.
In addition, if there is no title in the footer but you need a right-side button, you need to add pull-right to the right button, e.g.: