mirror of
https://github.com/zhigang1992/angular.js.git
synced 2026-01-13 08:59:54 +08:00
chore(injector): fix typo in injector documentation
This commit is contained in:
committed by
Igor Minar
parent
249a1d84e7
commit
271d2bed3a
@@ -20,7 +20,7 @@
|
||||
* // create an injector
|
||||
* var $injector = angular.injector(['ng']);
|
||||
*
|
||||
* // use the injector to kick of your application
|
||||
* // use the injector to kick off your application
|
||||
* // use the type inference to auto inject arguments, or use implicit injection
|
||||
* $injector.invoke(function($rootScope, $compile, $document){
|
||||
* $compile($document)($rootScope);
|
||||
|
||||
Reference in New Issue
Block a user