@@ -54,18 +54,18 @@ Try out the Live Preview above, and then let's walk through the example and desc
54
54
<img class="pull-right" style="padding-left: 3em; padding-bottom: 1em;" src="img/guide/concepts-databinding1.png">
55
55
56
56
This looks like normal HTML, with some new markup. In Angular, a file like this is called a
57
- <a name="template">"{@link templates template}"</a>. When Angular starts your application, it parses and
57
+ <a name="template">"{@link templates template}"</a>. When Angular starts your application, it parses and
58
58
processes this new markup from the template using the so called <a name="compiler">"{@link compiler compiler}"</a>.
59
59
The loaded, transformed and rendered DOM is then called the <a name="view">"view"</a>.
60
60
61
61
The first kind of new markup are the so called <a name="directive">"{@link directive directives}"</a>.
62
- They apply special behavior to attributes or elements in the HTML. In the example above we use the
62
+ They apply special behavior to attributes or elements in the HTML. In the example above we use the
63
63
{@link api/ng.directive:ngApp `ng-app`} attribute, which is linked to a directive that automatically
64
64
initializes our application. Angular also defines a directive for the {@link api/ng.directive:input `input`}
65
- element that adds extra behavior to the element. E.g. it is able to automatically validate that the entered
66
- text is non empty by evaluating the `required` attribute.
65
+ element that adds extra behavior to the element. E.g. it is able to automatically validate that the entered
66
+ text is non empty by evaluating the `required` attribute.
67
67
The {@link api/ng.directive:ngModel `ng-model`} directive stores/updates
68
- the value of the input field into/from a variable and shows the validation state of the input field by
68
+ the value of the input field into/from a variable and shows the validation state of the input field by
69
69
adding css classes. In the example we use these css classes to mark an empty input field with a red border.
70
70
71
71
<div class="alert alert-info">
0 commit comments