Skip to content

Commit 22649c9

Browse files
committed
1 parent 2f688ad commit 22649c9

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

README.md

+4-4
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@
2525
* [Intercepting Filters](#intercepting-filters)
2626
* [Directives](#directives-1)
2727
* [Composite](#composite)
28-
* [Interpreter](#interpreter)
28+
* [Interpreter](#interpreter)
2929
* [Template View](#template-view)
3030
* [Scope](#scope-1)
3131
* [Observer](#observer)
@@ -663,7 +663,7 @@ From the first example we can note that the whole DOM tree is a composition of e
663663

664664
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.
665665

666-
### Interpreter
666+
#### Interpreter
667667

668668
>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.
669669
@@ -1016,7 +1016,7 @@ app.factory('foo', function () {
10161016
10171017
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.
10181018
1019-
### Data Mapper
1019+
#### Data Mapper
10201020
10211021
>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.
10221022
@@ -1092,7 +1092,7 @@ And the following partial:
10921092
</div>
10931093
```
10941094
1095-
### Observer Pattern as an External Service
1095+
#### Observer Pattern as an External Service
10961096
10971097
##### About
10981098

0 commit comments

Comments
 (0)