Skip to content
This repository was archived by the owner on Apr 12, 2024. It is now read-only.

Commit a0ed371

Browse files
committed
style($injector): remove ws
1 parent 05e4fd3 commit a0ed371

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

src/auto/injector.js

+5-5
Original file line numberDiff line numberDiff line change
@@ -27,23 +27,23 @@
2727
* $rootScope.$digest();
2828
* });
2929
* </pre>
30-
*
30+
*
3131
* Sometimes you want to get access to the injector of a currently running Angular app
3232
* from outside Angular. Perhaps, you want to inject and compile some markup after the
3333
* application has been bootstrapped. You can do this using extra `injector()` added
3434
* to JQuery/jqLite elements. See {@link angular.element}.
35-
*
35+
*
3636
* *This is fairly rare but could be the case if a third party library is injecting the
3737
* markup.*
38-
*
38+
*
3939
* In the following example a new block of HTML containing a `ng-controller`
4040
* directive is added to the end of the document body by JQuery. We then compile and link
4141
* it into the current AngularJS scope.
42-
*
42+
*
4343
* <pre>
4444
* var $div = $('<div ng-controller="MyCtrl">{{content.label}}</div>');
4545
* $(document.body).append($div);
46-
*
46+
*
4747
* angular.element(document).injector().invoke(function($compile) {
4848
* var scope = angular.element($div).scope();
4949
* $compile($div)(scope);

0 commit comments

Comments
 (0)