From 0b114fd3e1ce4cc120663222f2dfb34ee5dbda4c Mon Sep 17 00:00:00 2001 From: Jeff Cross Date: Fri, 2 Aug 2013 09:21:33 -0700 Subject: fix(docs-bootstrap): Removed injector from bootstrapped docs samples This is necessary to make e2e tests pass for implementing #3411. At present, the docs are violating the rule being enforced by double-bootstrap prevention. --- docs/components/angular-bootstrap/bootstrap-prettify.js | 1 + 1 file changed, 1 insertion(+) (limited to 'docs') diff --git a/docs/components/angular-bootstrap/bootstrap-prettify.js b/docs/components/angular-bootstrap/bootstrap-prettify.js index b42c7c3a..9d8a7d23 100644 --- a/docs/components/angular-bootstrap/bootstrap-prettify.js +++ b/docs/components/angular-bootstrap/bootstrap-prettify.js @@ -241,6 +241,7 @@ directive.ngEmbedApp = ['$templateCache', '$browser', '$rootScope', '$location', embedRootScope.$destroy(); }); + element.data('$injector', null); angular.bootstrap(element, modules); } }; -- cgit v1.2.3