Skip to content
This repository was archived by the owner on Apr 12, 2024. It is now read-only.

Commit 0779b6b

Browse files
committed
docs(guide/concepts): improve formatting and clarity
1 parent 0b02e53 commit 0779b6b

File tree

1 file changed

+12
-12
lines changed

1 file changed

+12
-12
lines changed

docs/content/guide/concepts.ngdoc

Lines changed: 12 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -2,10 +2,10 @@
22
@name Conceptual Overview
33
@description
44

5-
There are some concepts within Angular that you should understand before creating your first application.
6-
This section touches all important parts of Angular really quickly using a simple example.
7-
However, it won't explain all details.
8-
For a more in-depth explanation, have a look at the {@link tutorial/ tutorial}.
5+
# Conceptual Overview
6+
7+
This section briefly touches on all of the important parts of AngularJS using a simple example.
8+
For a more in-depth explanation, see the {@link tutorial/ tutorial}.
99

1010
| Concept | Description |
1111
|------------------|------------------------------------------|
@@ -25,7 +25,7 @@ For a more in-depth explanation, have a look at the {@link tutorial/ tutorial}.
2525
|{@link concepts#service Service} | reusable business logic independent of views |
2626

2727

28-
# A first example: Data binding
28+
## A first example: Data binding
2929

3030
In the following example we will build a form to calculate the costs of an invoice in different currencies.
3131

@@ -97,7 +97,7 @@ recalculated and the DOM is updated with their values.
9797
The concept behind this is <a name="databinding">"{@link databinding two-way data binding}"</a>.
9898

9999

100-
# Adding UI logic: Controllers
100+
## Adding UI logic: Controllers
101101

102102
Let's add some more logic to the example that allows us to enter and calculate the costs in
103103
different currencies and also pay the invoice.
@@ -181,7 +181,7 @@ The following graphic shows how everything works together after we introduced th
181181

182182
<img style="padding-left: 3em; padding-bottom: 1em;" src="img/guide/concepts-databinding2.png">
183183

184-
# View independent business logic: Services
184+
## View independent business logic: Services
185185

186186
Right now, the `InvoiceController` contains all logic of our example. When the application grows it
187187
is a good practice to move view independent logic from the controller into a so called
@@ -297,7 +297,7 @@ Angular uses this array syntax to define the dependencies so that the DI also wo
297297
the code, which will most probably rename the argument name of the controller constructor function
298298
to something shorter like `a`.
299299

300-
# Accessing the backend
300+
## Accessing the backend
301301

302302
Let's finish our example by fetching the exchange rates from the Yahoo Finance API.
303303
The following example shows how this is done with Angular:
@@ -379,8 +379,8 @@ The following example shows how this is done with Angular:
379379
</example>
380380

381381
What changed?
382-
Our `currencyConverter` service of the `finance` module now uses the
383-
{@link ng.$http $http} service, a builtin service provided by Angular
384-
for accessing the backend. It is a wrapper around [`XMLHttpRequest`](https://developer.mozilla.org/en-US/docs/Web/API/XMLHttpRequest)
385-
and [JSONP](http://en.wikipedia.org/wiki/JSONP) transports. Details can be found in the api docs of that service.
382+
Our `currencyConverter` service of the `finance` module now uses the {@link ng.$http `$http`}, a
383+
built-in service provided by Angular for accessing a server backend. `$http` is a wrapper around
384+
[`XMLHttpRequest`](https://developer.mozilla.org/en-US/docs/Web/API/XMLHttpRequest)
385+
and [JSONP](http://en.wikipedia.org/wiki/JSONP) transports.
386386

0 commit comments

Comments
 (0)