官网文档说的足够用了
An injectable service for executing work inside or outside of the Angular zone.
The most common use of this service is to optimize perfo
...
看来要把Injector 和 provide 一起看了才能理解通注入这块
来自官网的提示
Injectable Services
Notice that we imported the Angular Injectable function and applied that function as
...
An ElementRef is created for each element in the Template that contains a Directive, Component or data-binding.
An ElementRef is backed by a render-
...
Specifies that a constant attribute value should be injected.The directive can inject constant string literals of host element attributes.
注入此指令获取当前
...
UrlResolver 具有非常实际的用途,特别在部署上
Used by the Compiler when resolving HTML and CSS template URLs.
This class can be overridden by the application developer
...