angularjs - ng-include in ui-bootstrap tooltip -


i testing angularjs , ui-bootstrap tooltips :

http://angular-ui.github.io/bootstrap/#/tooltip

what want achieve tooltip working buttons inside.

i have tried :

<input type="text" value="{{activity.name}}" tooltip-html-unsafe='<button class="btn btn-primary btn-mini" ng-click="addchild(activity)">+</button> <button class="btn btn-danger btn-mini" ng-click="remove(activity)">x</button> <button class="btn btn-danger btn-mini" ng-click="removechildren(activity)" ng-show="activity.children.length > 0">x children</button>' tooltip-trigger="focus" tooltip-placement="right" /> 

which ugly , not work. buttons rendered not execute 'ng-click'.

is there way can tell tooltip fetch partial , keep ng-click functional ?

tooltips contain "live" html (with angularjs directives working etc.) not supported in current (0.5.) version of http://angular-ui.github.io/bootstrap/#/tooltip

you might want open feature request in https://github.com/angular-ui/bootstrap/issues?state=open


Comments

Popular posts from this blog

image - ClassNotFoundException when add a prebuilt apk into system.img in android -

I need to import mysql 5.1 to 5.5? -

Java, Hibernate, MySQL - store UTC date-time -