diff --git a/js/ext/angular/src/directive/ionicBar.js b/js/ext/angular/src/directive/ionicBar.js index 1528b3631a..f2337947d2 100644 --- a/js/ext/angular/src/directive/ionicBar.js +++ b/js/ext/angular/src/directive/ionicBar.js @@ -24,8 +24,8 @@ angular.module('ionic.ui.header', ['ngAnimate', 'ngSanitize']) * provide dynamic layout features such as auto-title centering and animation. * They are also used by the Views and Navigation Controller to animate a title * on navigation and toggle a back button. - * * - * The main header bar feature provide is auto title centering. + * + * The main header bar feature provided is auto title centering. * In this situation, the title text will center itself until either the * left or right button content is too wide for the label to center. * In that case, it will slide left or right until it can fit. diff --git a/js/ext/angular/test/directive/ionicSlideBox.unit.js b/js/ext/angular/test/directive/ionicSlideBox.unit.js index c4199417e0..33a5208ae2 100644 --- a/js/ext/angular/test/directive/ionicSlideBox.unit.js +++ b/js/ext/angular/test/directive/ionicSlideBox.unit.js @@ -62,6 +62,6 @@ describe('Ionic Angular Slide Box', function() { ')(rootScope); var scope = el.scope(); - expect(scope.slideBox.getPos()).toBe(2); + expect(scope.slideBox.currentIndex()).toBe(2); }); });