I'm using the module to add an Angular-based application in one block on my site. I notice however that it adds "ng-" tags to the body element of every page.

Is there any way to restrict this to just the pages with the block containing my Angular app? The implication of having it on every page is that any problems with the Angular app will take the entire site down.

Comments

dodge created an issue. See original summary.

natemow’s picture

Hmm, not using this mod -- that behavior is by design honestly ("This module turns your site in to an AngularJS application."). In your case, you might be better off developing a small custom mod that did more focused handling for Angular (e.g. only adding AngularJS in a hook_block_view() implementation, applying the "ng-view" attribute very selectively to block markup, etc.)

natemow’s picture

Status: Active » Closed (works as designed)