@@ -503,12 +503,12 @@ angular.module('ionic.ui.header', ['ngAnimate'])
503503 transclude : true ,
504504 template : '<header class="bar bar-header">\
505505 <div class="buttons">\
506- <button ng-repeat="button in leftButtons" class="button" ng-class="button.type" ng-click="button.click ($event, $index)" ng-bind-html="button.content">\
506+ <button ng-repeat="button in leftButtons" class="button" ng-class="button.type" ng-click="button.tap ($event, $index)" ng-bind-html="button.content">\
507507 </button>\
508508 </div>\
509509 <h1 class="title" ng-bind-html="title"></h1>\
510510 <div class="buttons">\
511- <button ng-repeat="button in rightButtons" class="button" ng-class="button.type" ng-click="button.click ($event, $index)" ng-bind-html="button.content">\
511+ <button ng-repeat="button in rightButtons" class="button" ng-class="button.type" ng-click="button.tap ($event, $index)" ng-bind-html="button.content">\
512512 </button>\
513513 </div>\
514514 </header>' ,
@@ -1219,11 +1219,11 @@ angular.module('ionic.ui.navRouter', ['ionic.service.gesture'])
12191219 template : '<header class="bar bar-header nav-bar" ng-class="{invisible: !navController.navBar.isVisible}">' +
12201220 '<div class="buttons"> ' +
12211221 '<button nav-back class="button" ng-if="enableBackButton && showBackButton" ng-class="backButtonClass" ng-bind-html="backButtonLabel"></button>' +
1222- '<button ng-click="button.tap($event)" ng-repeat="button in leftButtons" class="button {{button.type}}" ng-bind="button.text "></button>' +
1222+ '<button ng-click="button.tap($event)" ng-repeat="button in leftButtons" class="button {{button.type}}" ng-bind-html ="button.content "></button>' +
12231223 '</div>' +
12241224 '<h1 class="title" ng-bind="currentTitle"></h1>' +
12251225 '<div class="buttons" ng-if="rightButtons.length"> ' +
1226- '<button ng-click="button.tap($event)" ng-repeat="button in rightButtons" class="button {{button.type}}" ng-bind="button.text "></button>' +
1226+ '<button ng-click="button.tap($event)" ng-repeat="button in rightButtons" class="button {{button.type}}" ng-bind-html ="button.content "></button>' +
12271227 '</div>' +
12281228 '</header>' ,
12291229 link : function ( $scope , $element , $attr , navCtrl ) {
0 commit comments