I have an AngularJS app running from a Site that and the main page and partial pages are all wrapped in an
apex:pagewith these attributes:
<apex:page showHeader="false" sidebar="false" standardStylesheets="false" applyHtmlTag="false"> // AngularJS content </apex:page>
I’d like to know if it is possible to eliminate this automatically generated content from the output:
as it serves no useful purpose.
Do any of the apex:page attributes that I am not setting have the effect of removing these script references?
See this answer for some (safe harbored) Salesforce plans about this.
I had the exact same experience. To my knowledge, it can’t be done. I created an idea for it…maybe you could vote for it? Maybe all of you could vote for it. 🙂