Y
Hacker News
new
|
ask
|
show
|
jobs
by
jonny_eh
3530 days ago
But Angular only reads HTML that it's told to read, specified by the "ng-app" attribute/directive.
2 comments
bzbarsky
3530 days ago
Yes, but in a browser extension context the web page controls the HTML involved and is the thing you want to defend against. So relying on the HTML to play nice is not OK.
[Disclaimer: I work for Mozilla.]
link
AgentME
3530 days ago
And the webpage can place the ng-app directive into itself.
link
[Disclaimer: I work for Mozilla.]