We are trying to get Community Everywhere working within our single page built using angular. In this single page architecture we have one main page and we load the other pages as views asynchronously.
Because these views are loaded asynchronously, embedding community everywhere script in views won't work as browser will ignore "document.write" from JS.
Here is jsfiddle examples illustrating our problem
1) AngularJS Example: - JSFiddle …. In this example I am embedding the community everywhere script in main app page. This works but we don't want to limit discussions only on main page.
2) AngularJS Example: - JSFiddle … In this example I am embedding the community everywhere script in list partial. This is not working. It will great if we can get some work around of this.