diff --git a/docs/content/guide/concepts.ngdoc b/docs/content/guide/concepts.ngdoc index 740c49069403..84da48367359 100644 --- a/docs/content/guide/concepts.ngdoc +++ b/docs/content/guide/concepts.ngdoc @@ -37,10 +37,10 @@ Let's start with input fields for quantity and cost whose values are multiplied
Invoice:
- Quantity: + Quantity:
- Costs: + Costs:
Total: {{qty * cost | currency}} @@ -62,11 +62,8 @@ The first kind of new markup are the so called "{@link direc They apply special behavior to attributes or elements in the HTML. In the example above we use the {@link ng.directive:ngApp `ng-app`} attribute, which is linked to a directive that automatically initializes our application. Angular also defines a directive for the {@link ng.directive:input `input`} -element that adds extra behavior to the element. E.g. it is able to automatically validate that the entered -text is non empty by evaluating the `required` attribute. -The {@link ng.directive:ngModel `ng-model`} directive stores/updates -the value of the input field into/from a variable and shows the validation state of the input field by -adding css classes. In the example we use these css classes to mark an empty input field with a red border. +element that adds extra behavior to the element. The {@link ng.directive:ngModel `ng-model`} directive +stores/updates the value of the input field into/from a variable.
**Custom directives to access the DOM**: In Angular, the only place where an application touches the DOM is