Ng-controller on ion-header-bar damages has-header


#1

My views works fine until I assign ng-controller for ion-header-bar! Actually it does not take “.has-header” class once I assigned ng-controller for ion-header-bar.

I fixed it manually, by adding class=“has-header” to the ion-content!


#2

Ideally, you shouldn’t put a controller just on your header, but the entire view.


#3

But it works fine in http://silo.app.krur.com/ example! and I found it useful when I wanted to use some functions across the app without repeating them in every controller.