@@ -503,12 +503,12 @@ angular.module('ionic.ui.header', ['ngAnimate'])
503
503
transclude : true ,
504
504
template : '<header class="bar bar-header">\
505
505
<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">\
507
507
</button>\
508
508
</div>\
509
509
<h1 class="title" ng-bind-html="title"></h1>\
510
510
<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">\
512
512
</button>\
513
513
</div>\
514
514
</header>' ,
@@ -1219,11 +1219,11 @@ angular.module('ionic.ui.navRouter', ['ionic.service.gesture'])
1219
1219
template : '<header class="bar bar-header nav-bar" ng-class="{invisible: !navController.navBar.isVisible}">' +
1220
1220
'<div class="buttons"> ' +
1221
1221
'<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>' +
1223
1223
'</div>' +
1224
1224
'<h1 class="title" ng-bind="currentTitle"></h1>' +
1225
1225
'<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>' +
1227
1227
'</div>' +
1228
1228
'</header>' ,
1229
1229
link : function ( $scope , $element , $attr , navCtrl ) {
0 commit comments