AngularJS error: 'argument 'FirstCtrl' is not a function, got undefined'

前端 未结 16 1230
时光取名叫无心
时光取名叫无心 2020-12-01 05:55

I noticed the same question was asked a few times here, I tried so solve it but nothing helps.

I\'m following this tutorial with the egghead videos.

But whe

16条回答
  •  半阙折子戏
    2020-12-01 06:36

    sometimes something wrong in the syntax of the code inside the function throws this error. Check your function correctly. In my case it happened when I was trying to assign Json fields with values and was using colon : to make the assignment instead of equal sign = ...

提交回复
热议问题