AngularJS and generated elements

后端 未结 3 485
失恋的感觉
失恋的感觉 2021-01-03 02:45

We have some third party javascript components that are generating some html elements. I\'d like to couple it with AngularJS.

I\'ve tried this code

         


        
3条回答
  •  我在风中等你
    2021-01-03 03:07

    The angular way, to have your model perfectly synced, and to dynamically add or remove input types would be with http://jsfiddle.net/3BVMm/1/

    you should provide the plugin we are talking about here, maybe angular blows this plugin away with just a few codes...

提交回复
热议问题