ng-if on bar right buttons

This commit is contained in:
Adam Bradley
2013-11-28 21:47:01 -06:00
parent 343c0b647b
commit 64afb65dc9
2 changed files with 2 additions and 2 deletions

View File

@@ -193,7 +193,7 @@ angular.module('ionic.ui.navRouter', ['ionic.service.gesture'])
'<button ng-click="button.tap($event)" ng-repeat="button in leftButtons" class="button {{button.type}}" ng-bind="button.text"></button>' +
'</div>' +
'<h1 class="title" ng-bind="currentTitle"></h1>' +
'<div class="buttons"> ' +
'<div class="buttons" ng-if="rightButtons.length"> ' +
'<button ng-click="button.tap($event)" ng-repeat="button in rightButtons" class="button {{button.type}}" ng-bind="button.text"></button>' +
'</div>' +
'</header>',