Using empty string (“”) as name for ng-app

后端 未结 2 491
一个人的身影
一个人的身影 2021-01-28 16:28

I wonder why it seems a problem using empty strings for ng-app. In the example provided by w3school, I attempted using empty string to name the ng-app as below, but

2条回答
  •  温柔的废话
    2021-01-28 17:11

    you have to set a name to your module, or otherwise not use a module and delete the 'ng-app' from you html.

提交回复
热议问题