v1.0.0-beta.1: ng-controller in ion-nav-bar doesn't work


#1

I just updated to v1.0.0-beta-1 and I can’t get ion-nav-bar to work with a controller set. My code:

<ion-nav-bar class="nav-title-slide-ios7" ng-controller="HeaderCtrl"> </ion-nav-bar> <ion-nav-view></ion-nav-view>

<ion-view hide-back-button="true" title="Some Page"> <ion-nav-buttons side="left"> <button class="button-clear button-positive ion-navicon-round" ng-click="leftButtonTap()"> </button> </ion-nav-buttons> <ion-nav-buttons side="right"> <button class="button-clear button-assertive ion-power" ng-click="rightButtonTap()"> </button> </ion-nav-buttons> .... </ion-view>

None of the left or right buttons in the header seem to be able to find the leftButtonTap or rightButtonTap functions in the HeaderCtrl.

However, when I put the ng-controller in the body tag, the header buttons work properly:

`

`

Anyone encountered anything like this?