Having a hard time debugging error - Token '{' invalid key at column 2

后端 未结 4 1873
感动是毒
感动是毒 2020-12-16 09:18

I have encountered an error which I\'m unable to debug.

form-field.html

4条回答
  •  难免孤独
    2020-12-16 10:12

    This problem happened to me when i was following the same tutorial , and i discovered that the solution in my case is that i was using a newer version of ngMessages so i have to update my bower.json file with the same version in the videos (starting from version 1.4 the example doesn't work), then every thing works fine and here is my dependencies section:

    "dependencies": {
      "angular": "1.3.9",   
      "angular-route": "1.3.9", 
      "angular-resource": "1.3.9", 
      "angular-messages": "1.3.9", 
      "bootstrap": "^3.3.6"}
    

提交回复
热议问题