mirror of
https://github.com/zhigang1992/angular.js.git
synced 2026-04-24 12:05:46 +08:00
fix wrapping api links into code element
This commit is contained in:
@@ -59,11 +59,11 @@ $route.onChange(function() {
|
||||
Things to notice in this example:
|
||||
|
||||
|
||||
* The `batchLog` service depends on the built-in `{@link api/angular.service.$defer $defer}` and
|
||||
`{@link api/angular.service.$log $log}` services, and allows messages to be logged into the
|
||||
* The `batchLog` service depends on the built-in {@link api/angular.service.$defer $defer} and
|
||||
{@link api/angular.service.$log $log} services, and allows messages to be logged into the
|
||||
`console.log` in batches.
|
||||
* The `routeTemplateMonitor` service depends on the built-in `{@link api/angular.service.$route
|
||||
$route}` service as well as our custom `batchLog` service.
|
||||
* The `routeTemplateMonitor` service depends on the built-in {@link api/angular.service.$route
|
||||
$route} service as well as our custom `batchLog` service.
|
||||
* The `routeTemplateMonitor` service is declared to be eager, so that it is started as soon as the
|
||||
application starts.
|
||||
* To underline the need for the eager instantiation of the `routeTemplateMonitor` service, nothing
|
||||
|
||||
@@ -5,7 +5,7 @@
|
||||
|
||||
|
||||
To register a service, register a factory function that creates the service with angular's
|
||||
Injector. The Injector is exposed as `{@link api/angular.scope.$service scope.$service}`. The
|
||||
Injector. The Injector is exposed as {@link api/angular.scope.$service scope.$service}. The
|
||||
following pseudo-code shows a simple service registration:
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user