Fix Javascript errors on all Publish Online documents
Every single Publish Online document throws a Javascript error. The error code seems to be the same for every document. The below was taken from 'Five Days from Nowhere', an Adobe example document used on the Publish Online documentation. The issue is that this Javascript error makes it impossible to add any custom Javascript as any subsequent code will not execute when the document is embedded in a different environment. This is a big issue for example for implementing Google Analytics Tracking codes into iframes.
[Error] Error: [$rootScope:inprog] http://errors.angularjs.org/1.3.0/$rootScope/inprog?p0=%24digest
https://indd.adobe.com/1_1003044/public/js/index_head.js:20:421
l@https://indd.adobe.com/1_1003044/public/js/index_head.js:129:327
$apply@https://indd.adobe.com/1_1003044/public/js/index_head.js:137:338
https://indd.adobe.com/1_1003044/public/js/index_body.js:2:5511
$digest@https://indd.adobe.com/1_1003044/public/js/index_head.js:134:463
$apply@https://indd.adobe.com/1_1003044/public/js/index_head.js:137:413
hideMoreOptions@https://indd.adobe.com/1_1003044/public/js/index_head.js:262:7934
receiveMessage@https://indd.adobe.com/1_1003044/public/js/index_head.js:261:10380
https://indd.adobe.com/1_1003044/public/js/index_head.js:261:27233
dispatch@https://indd.adobe.com/1_1003044/public/js/index_head.js:7:8441
handle@https://indd.adobe.com/1_1003044/public/js/index_head.js:7:5144
nrWrapper@https://indd.adobe.com/1_1003044/public/newrelic_browser/prod-eu-west-1-newrelic.js:1:12786
(anonymous function) (indexhead.js:89:377)
$apply (indexhead.js:137:374)
(anonymous function) (indexbody.js:2:5512)
$digest (indexhead.js:134:464)
$apply (indexhead.js:137:414)
hideMoreOptions (indexhead.js:262:7935)
receiveMessage (indexhead.js:261:10381)
(anonymous function) (indexhead.js:261:27234)
dispatch (indexhead.js:7:8442)
handle (indexhead.js:7:5145)
nrWrapper (prod-eu-west-1-newrelic.js:1:12787)