Skip to content

Commit 8df0e5e

Browse files
committed
Add facade UML diagram
1 parent cdd4c06 commit 8df0e5e

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

README.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -433,6 +433,8 @@ The example above defines new service called `foo`. In the `config` callback is
433433
434434
>4. wrap a poorly designed collection of APIs with a single well-designed API (as per task needs).
435435
436+
![Facade](./images/facade.png "Fig. 11")
437+
436438
There are a few facades in AngularJS. Each time you want to provide higher level API to given functionality you usually use facade.
437439

438440
For example, lets take a look at the `$http` service. We can use `$http` as a method, which accepts a configuration object:

0 commit comments

Comments
 (0)