Error: Argument is not a function, got undefined

前端 未结 17 1893
不思量自难忘°
不思量自难忘° 2020-12-07 19:35

Using AngularJS with Scala Play, I\'m getting this error.

Error: Argument \'MainCtrl\' is not a function, got undefined

I\'m try

17条回答
  •  孤城傲影
    2020-12-07 20:01

    In my case it was a simple typo in index.html:

    
    

    that should have been

    
    

    without the extra s in the controller's name.

提交回复
热议问题