Skip to content

Commit

Permalink
refact(ionBar): interpolate title instead of binding
Browse files Browse the repository at this point in the history
BREAKING CHANGE:

ionHeaderBar's title attribute is now interpolated.

Change this code: `<ion-header-bar title="myTitleVar"></ion-header-bar>`

To this code: `<ion-header-bar title="{{myTitleVar}}"></ion-header-bar>`
  • Loading branch information
ajoslin committed Mar 11, 2014
1 parent 9cff5d0 commit a8e1524
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion js/ext/angular/src/directive/ionicBar.js
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,6 @@ angular.module('ionic.ui.header', ['ngAnimate', 'ngSanitize'])
type: '@',
alignTitle: '@'
},

link: function($scope, $element, $attr) {
var hb = new ionic.views.HeaderBar({
el: $element[0],
Expand Down

0 comments on commit a8e1524

Please sign in to comment.