feat(ionTab): add class attribute to tab items

This commit is contained in:
Julien Goux
2014-05-14 14:46:48 +02:00
committed by Andrew Joslin
parent 6af5d68da4
commit e6f79cc0ff
3 changed files with 11 additions and 5 deletions

View File

@@ -64,6 +64,7 @@ function($rootScope, $animate, $ionicBind, $compile) {
attrStr('icon-off', attr.iconOff) +
attrStr('badge', attr.badge) +
attrStr('badge-style', attr.badgeStyle) +
attrStr('class', attr.class) +
'></ion-tab-nav>';
//Remove the contents of the element so we can compile them later, if tab is selected