refact(ionBar): interpolate title instead of binding

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>`
This commit is contained in:
Andy Joslin
2014-03-11 09:54:02 -06:00
parent 9cff5d030c
commit a8e1524ce8

View File

@@ -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],