diff options
| author | Jeff Cross | 2013-08-02 09:21:33 -0700 | 
|---|---|---|
| committer | Jeff Cross | 2013-08-09 10:19:41 -0700 | 
| commit | 0b114fd3e1ce4cc120663222f2dfb34ee5dbda4c (patch) | |
| tree | 1330fc8161d804d6c2ebffe6a76f8e0da3cb5cde /docs | |
| parent | 61cb4085d421060edfb98d7eae0a43b615542843 (diff) | |
| download | angular.js-0b114fd3e1ce4cc120663222f2dfb34ee5dbda4c.tar.bz2 | |
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.
Diffstat (limited to 'docs')
| -rw-r--r-- | docs/components/angular-bootstrap/bootstrap-prettify.js | 1 | 
1 files changed, 1 insertions, 0 deletions
| 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);      }    }; | 
