zelocalhost
zelocalhost

Reputation: 1183

ng-show and ng-hide fails in html5/js chrome extension

I'm confused about the behavior of ng-hide and ng-show in my chrome extension : https://chrome.google.com/webstore/detail/zombiereport/nmojhgiclaimobhpljphbfgmabfmncin

when i put it on the web it's work good : http://1ffa3ba638.url-de-test.ws/zombieReport/partials/popup.html

In the form, ng-show et ng-hide are automatically visible by default (in extension).

Upvotes: 10

Views: 2117

Answers (1)

nucleic
nucleic

Reputation: 266

I had this same problem. Make sure you include the angular-csp.css file in your extensions index.html file. You can download it here. Also make sure to use the ng-csp directive on the html tag.

Let me know if this works for you.

Upvotes: 25

Related Questions