|
558 | 558 | :marked
|
559 | 559 | A [Provider](!{_ProviderUrl}) creates a new instance of a dependency for the
|
560 | 560 | [Dependency Injection](#dependency-injection) system.
|
561 |
| - It relates a lookup token to code — sometimes called a "recipe" — |
| 561 | + It relates a lookup token to code — sometimes called a "recipe" — |
562 | 562 | that can create a dependency value.
|
563 | 563 |
|
564 | 564 | a#Q
|
@@ -744,8 +744,6 @@ a#snake-case
|
744 | 744 | TypeScript is the preferred language for Angular 2 development although
|
745 | 745 | we are welcome to write in other JavaScript dialects such as [ES5](#es5).
|
746 | 746 |
|
747 |
| - Angular 2 itself is written in TypeScript. |
748 |
| - |
749 | 747 | Learn more about TypeScript on its [website](http://www.typescriptlang.org/).
|
750 | 748 |
|
751 | 749 | a#U
|
@@ -775,22 +773,23 @@ a#Y
|
775 | 773 | :marked
|
776 | 774 | ## Zone
|
777 | 775 | .l-sub-section
|
778 |
| - :marked |
779 |
| - Zones are a mechanism for encapsulating and intercepting |
780 |
| - a JavaScript application's asynchronous activity. |
| 776 | + block zone-defn |
| 777 | + :marked |
| 778 | + Zones are a mechanism for encapsulating and intercepting |
| 779 | + a JavaScript application's asynchronous activity. |
781 | 780 |
|
782 |
| - The browser DOM and JavaScript have a limited number |
783 |
| - of asynchronous activities, activities such as DOM events (e.g., clicks), |
784 |
| - [promises](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Promise), and |
785 |
| - [XHR](https://developer.mozilla.org/en-US/docs/Web/API/XMLHttpRequest) |
786 |
| - calls to remote servers. |
| 781 | + The browser DOM and JavaScript have a limited number |
| 782 | + of asynchronous activities, activities such as DOM events (e.g., clicks), |
| 783 | + [promises](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Promise), and |
| 784 | + [XHR](https://developer.mozilla.org/en-US/docs/Web/API/XMLHttpRequest) |
| 785 | + calls to remote servers. |
787 | 786 |
|
788 |
| - Zones intercept all of these activities and give a "zone client" the opportunity |
789 |
| - to take action before and after the async activity completes. |
| 787 | + Zones intercept all of these activities and give a "zone client" the opportunity |
| 788 | + to take action before and after the async activity completes. |
790 | 789 |
|
791 |
| - Angular runs our application in a zone where it can respond to |
792 |
| - asynchronous events by checking for data changes and updating |
793 |
| - the information it displays via [data binding](#data-binding). |
| 790 | + Angular runs our application in a zone where it can respond to |
| 791 | + asynchronous events by checking for data changes and updating |
| 792 | + the information it displays via [data bindings](#data-binding). |
794 | 793 |
|
795 |
| - Learn more about zones in this |
796 |
| - [Brian Ford video](https://www.youtube.com/watch?v=3IqtmUscE_U). |
| 794 | + Learn more about zones in this |
| 795 | + [Brian Ford video](https://www.youtube.com/watch?v=3IqtmUscE_U). |
0 commit comments