NgController and ion-nav-buttons

Hi chaps!

I can’t get angular tags to work in the ion-nav-buttons, ion-content works perfect though.

This is what my code looks like, any idea why the controller doesn’t control nav bar as well?

Thanks in advance!! :smile:

app.config ($stateProvider)->
    $stateProvider
    .state "index", {
        url: "/"
        templateUrl: "/templates/home.html"
        controller: "HomeCtrl"
    }

app.controller "ScriptsCtrl", ($scope, globals)->
    $scope.items = []
    $.scope.addItem = ()->

<ion-view title="Your Items">
  <ion-nav-buttons side="right">
    <button ng-click="addItem()" class="button button-clear">
      Add
    </button>
  </ion-nav-buttons>
  <ion-content>
      
      <div class="list">
        <div class="item item-divider">Downloaded</div>
        <!-- Commented out for brevity -->
      </div>

  </ion-content>
</ion-view>