Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

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).

like image 673
zelocalhost Avatar asked Aug 05 '14 12:08

zelocalhost


1 Answers

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.

like image 181
nucleic Avatar answered Oct 23 '22 04:10

nucleic