ng-show和ng-hide在html5 / js chrome扩展中失败

时间:2014-08-05 12:59:01

标签: angularjs google-chrome-extension google-chrome-app

我对Chrome扩展程序中ng-hide和ng-show的行为感到困惑:https://chrome.google.com/webstore/detail/zombiereport/nmojhgiclaimobhpljphbfgmabfmncin

当我把它放在网上时,它的效果很好:http://1ffa3ba638.url-de-test.ws/zombieReport/partials/popup.html

在表单中,默认情况下(扩展名)会自动显示ng-show et ng-hide。

1 个答案:

答案 0 :(得分:25)

我有同样的问题。确保将angular-csp.css文件包含在扩展程序index.html文件中。你可以download it here。另外,请务必使用ng-csp标记上的html指令。

请告诉我这是否适合您。

相关问题