binding scope property with a dash in html template

后端 未结 2 1668
被撕碎了的回忆
被撕碎了的回忆 2021-01-28 05:37

For some reason, I have to use dash in property like test-name and cannot use testName or testname:

angular.module(\'testA         


        
2条回答
提交回复
热议问题