Passing asynchronously obtained data to a directive

后端 未结 2 1247
粉色の甜心
粉色の甜心 2020-12-18 08:52

I currently have an AngularJS controller that is basically getting some JSON asynchronously through a $http.get() call, then linking t

2条回答
  •  别那么骄傲
    2020-12-18 09:12

    The problem appears to be your html markup.

    In your controller you have specified the ctrlModel is equal to this.

    In your html markup you have declared the same this to be named interactionsController.
    So tacking on ctrlModel to interactionsController is incorrect.

    
      

提交回复
热议问题