Two way binding Angularjs directives isn't working

前端 未结 3 1903
温柔的废话
温柔的废话 2020-12-30 09:01

I have been trying to figure out the solution but I think i hit a dead end.

So here is my directive

directive         


        
3条回答
  •  我在风中等你
    2020-12-30 09:52

    Some help from angularjs irc, & dluz, updated. Though I wish there was an easier way for the directive to be called, since the link function contains behavior and there should be a way to call that.

    http://jsfiddle.net/T7cqV/5/

提交回复
热议问题