|
25 | 25 | * [Intercepting Filters](#intercepting-filters) |
26 | 26 | * [Directives](#directives-1) |
27 | 27 | * [Composite](#composite) |
28 | | - * [Interpreter](#interpreter) |
| 28 | + * [Interpreter](#interpreter) |
29 | 29 | * [Template View](#template-view) |
30 | 30 | * [Scope](#scope-1) |
31 | 31 | * [Observer](#observer) |
@@ -663,7 +663,7 @@ From the first example we can note that the whole DOM tree is a composition of e |
663 | 663 |
|
664 | 664 | In the second, JavaScript, example we see that the `template` property of the directive, contains markup with `ng-transclude` directive inside it. So this means that inside the directive `zippy` we have another directive called `ng-transclude`, i.e. composition of directives. Theoretically we can nest the components infinitely until we reach a leaf node. |
665 | 665 |
|
666 | | -### Interpreter |
| 666 | +#### Interpreter |
667 | 667 |
|
668 | 668 | >In computer programming, the interpreter pattern is a design pattern that specifies how to evaluate sentences in a language. The basic idea is to have a class for each symbol (terminal or nonterminal) in a specialized computer language. The syntax tree of a sentence in the language is an instance of the composite pattern and is used to evaluate (interpret) the sentence. |
669 | 669 | |
@@ -1016,7 +1016,7 @@ app.factory('foo', function () { |
1016 | 1016 | |
1017 | 1017 | Once we want to inject `foo` inside any other component we won't be able to use the private methods, but only the public ones. This solution is extremely powerful especially when one is building a reusable library. |
1018 | 1018 | |
1019 | | -### Data Mapper |
| 1019 | +#### Data Mapper |
1020 | 1020 | |
1021 | 1021 | >A Data Mapper is a Data Access Layer that performs bidirectional transfer of data between a persistent data store (often a relational database) and an in memory data representation (the domain layer). The goal of the pattern is to keep the in memory representation and the persistent data store independent of each other and the data mapper itself. |
1022 | 1022 | |
@@ -1092,7 +1092,7 @@ And the following partial: |
1092 | 1092 | </div> |
1093 | 1093 | ``` |
1094 | 1094 | |
1095 | | -### Observer Pattern as an External Service |
| 1095 | +#### Observer Pattern as an External Service |
1096 | 1096 | |
1097 | 1097 | ##### About |
1098 | 1098 | |
|
0 commit comments