aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorIgor Minar2013-12-12 23:51:03 -0800
committerIgor Minar2013-12-12 23:51:45 -0800
commita0ed3713899f0ec5f3e1b76ef48fc3acedabe1a5 (patch)
treeb3f26a0c2172499b2d1cf3ba913ee4b3a5c6d970
parent05e4fd3488b89e670c36869f18defe26deac2efa (diff)
downloadangular.js-a0ed3713899f0ec5f3e1b76ef48fc3acedabe1a5.tar.bz2
style($injector): remove ws
-rw-r--r--src/auto/injector.js10
1 files changed, 5 insertions, 5 deletions
diff --git a/src/auto/injector.js b/src/auto/injector.js
index 96ce83ea..4eabc2fc 100644
--- a/src/auto/injector.js
+++ b/src/auto/injector.js
@@ -27,23 +27,23 @@
* $rootScope.$digest();
* });
* </pre>
- *
+ *
* Sometimes you want to get access to the injector of a currently running Angular app
* from outside Angular. Perhaps, you want to inject and compile some markup after the
* application has been bootstrapped. You can do this using extra `injector()` added
* to JQuery/jqLite elements. See {@link angular.element}.
- *
+ *
* *This is fairly rare but could be the case if a third party library is injecting the
* markup.*
- *
+ *
* In the following example a new block of HTML containing a `ng-controller`
* directive is added to the end of the document body by JQuery. We then compile and link
* it into the current AngularJS scope.
- *
+ *
* <pre>
* var $div = $('<div ng-controller="MyCtrl">{{content.label}}</div>');
* $(document.body).append($div);
- *
+ *
* angular.element(document).injector().invoke(function($compile) {
* var scope = angular.element($div).scope();
* $compile($div)(scope);