angularjs - Force recompilation of element using kcd-recompile -


i'm trying use: kcd-recompile recompile element. reason it's not working -seems break ng-repeat.

one way i'd work recompile single element in ng-repeat:

  <ul >      <li  kcd-recompile='x.update_single' use-boolean ng-repeat="x in ::data">{{::x.name}}</li>   </ul>  

or if not, update whole ul:

  <ul  kcd-recompile='really_update' use-boolean>      <li ng-repeat="x in ::data">{{::x.name}}</li>   </ul>  

codepen

any thoughts on i'm missing?

thanks.

edit

maaan .. figured out, directive needs inside ng-repeat otherwise things break. updated codepen

but need ... update li that's repeating ?


Comments

Popular posts from this blog

Magento/PHP - Get phones on all members in a customer group -

php - .htaccess mod_rewrite for dynamic url which has domain names -

Website Login Issue developed in magento -