Dynamic Headers

I have a tab view that requires the header (buttons, title area, styling) to change on each tab. In the default app which i used to bootstrap the header exists separately from each tab in the index file.

Is there a way to programmatically pass data into the header from the active view/controller and display different header configurations based on this data?

Can’t you have an angular controller for the whole view which will display different informations in the header accordingo the selected tab ?

Very basic exemple :
if selected tab is the first one $scope.selected=1, if it’s two $scope.selected=2 and in the html you use ng-show=“scope.selected==1” on the different elements?