AngularJS directive binding a function with multiple arguments

前端 未结 2 885
闹比i
闹比i 2020-12-02 10:54

I\'m having some trouble binding a function defined in a controller with a callback function in a directive. My code looks like the following:

In my controller:

2条回答
  •  星月不相逢
    2020-12-02 11:47

    There is one small mistake in your code, please try the code below and it should work for you

    
    
      
        
    
      
         
    
    
    
    

提交回复
热议问题