tannerlinsley / nz-toggle

Dual and triple-state toggles for AngularJS
http://codepen.io/anon/pen/yNjyME
40 stars 30 forks source link

Support dynamic tooltip texts #31

Closed moravcik closed 8 years ago

moravcik commented 8 years ago

Tooltip values tip-true, tip-false, tip-null are de-facto one time bound with once calling $eval on them. I would need them to be localized with angular-translate, but it doesn't work with asynchronous loading of translations (partial loader), because at time of calling $eval on tip-texts the translation is not yet available (it is available few milliseconds later) but it is not evaluated later.

ckr commented 8 years ago

Reopen if not done.