diff --git a/js/angular/directive/headerFooterBar.js b/js/angular/directive/headerFooterBar.js index fe50adb9c2..ce6b0b3e1d 100644 --- a/js/angular/directive/headerFooterBar.js +++ b/js/angular/directive/headerFooterBar.js @@ -140,6 +140,9 @@ function headerFooterBarDirective(isHeader) { delete $scope.$hasSubheader; }); ctrl.align(); + $scope.$on('$ionicHeader.align', function() { + ctrl.align(); + }); } else { $scope.$watch(function() { return $element[0].className; }, function(value) { diff --git a/js/angular/service/modal.js b/js/angular/service/modal.js index d70fce8b0b..0362400f75 100644 --- a/js/angular/service/modal.js +++ b/js/angular/service/modal.js @@ -18,7 +18,7 @@ * * - This example assumes your modal is in your main index file or another template file. If it is in its own * template file, remove the script tags and call it by file name. - * + * * @usage * ```html *