elem.bind('mouseover',function(event){
var $span = angular.element("<span>") //通过angular创建个span元素,这样每次光标一过来的时候都会创建,否则,grumble气泡内容没变化,没法及时更新
elem.after($span);//追加在整体元素后面,不追加后面,样式出错乱的现象
$span.grumble(
{
text:'<span class=\"fa-stack fa-2x\"><i class=\"'+scope.bgColor+'\"></i><i class=\"'+scope.icon+'\" ></i></span>',
angle: 85,
distance: elem.width() + 15,
showAfter: 1,
type: 'alt-',
hideAfter: 2000
}
);
});