|
8 | 8 | <div class="alert alert-warning"> |
9 | 9 | **Note:** this guide is targeted towards developers who are already familiar with AngularJS basics. |
10 | 10 | If you're just getting started, we recommend the {@link tutorial/ tutorial} first. |
11 | | -If you're looking for the **directives API**, we recently moved it to {@link ng.$compile `$compile`}. |
| 11 | +If you're looking for the **directives API**, you can find it in the |
| 12 | +{@link ng.$compile `$compile` API docs}. |
12 | 13 | </div> |
13 | 14 |
|
14 | 15 |
|
@@ -58,7 +59,7 @@ The following `<input>` element also **matches** `ngModel`: |
58 | 59 | <input data-ng-model="foo"> |
59 | 60 | ``` |
60 | 61 |
|
61 | | -And the following <person> element **matches** the `person` directive: |
| 62 | +And the following `<person>` element **matches** the `person` directive: |
62 | 63 |
|
63 | 64 | ```html |
64 | 65 | <person>{{name}}</person> |
@@ -335,9 +336,7 @@ Let's change our directive to use `restrict: 'E'`: |
335 | 336 | </file> |
336 | 337 | </example> |
337 | 338 |
|
338 | | -For more on the |
339 | | -{@link ng.$compile#directive-definition-object `restrict`} |
340 | | -property, see the |
| 339 | +For more on the `restrict` property, see the |
341 | 340 | {@link ng.$compile#directive-definition-object API docs}. |
342 | 341 |
|
343 | 342 | <div class="alert alert-info"> |
@@ -450,8 +449,8 @@ scope: { |
450 | 449 | The **scope option** is an object that contains a property for each isolate scope binding. In this |
451 | 450 | case it has just one property: |
452 | 451 |
|
453 | | -- Its name (`customerInfo`) corresponds to the |
454 | | -directive's **isolate scope** property `customerInfo`. |
| 452 | +- Its name (`customerInfo`) corresponds to the directive's **isolate scope** property, |
| 453 | + `customerInfo`. |
455 | 454 | - Its value (`=info`) tells `$compile` to bind to the `info` attribute. |
456 | 455 |
|
457 | 456 | <div class="alert alert-warning"> |
@@ -517,8 +516,8 @@ that you explicitly pass in. |
517 | 516 |
|
518 | 517 | <div class="alert alert-warning"> |
519 | 518 | **Note:** Normally, a scope prototypically inherits from its parent. An isolated scope does not. |
520 | | -See the {@link $compile#directive-definition-object |
521 | | -"Directive Definition Object - scope"} section for more information about isolate scopes. |
| 519 | +See the {@link $compile#directive-definition-object "Directive Definition Object - scope"} section |
| 520 | +for more information about isolate scopes. |
522 | 521 | </div> |
523 | 522 |
|
524 | 523 | <div class="alert alert-success"> |
|
0 commit comments