diff options
Diffstat (limited to 'docs/content/guide/dev_guide.templates.ngdoc')
| -rw-r--r-- | docs/content/guide/dev_guide.templates.ngdoc | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/docs/content/guide/dev_guide.templates.ngdoc b/docs/content/guide/dev_guide.templates.ngdoc index 541b63fd..60e6a39b 100644 --- a/docs/content/guide/dev_guide.templates.ngdoc +++ b/docs/content/guide/dev_guide.templates.ngdoc @@ -10,8 +10,8 @@ the dynamic view DOM. These are the types of angular elements and element attributes you can use in a template: -* {@link api/angular.module.ng.$compileProvider.directive Directive} — An attribute that augments an existing DOM -element. +* {@link api/angular.module.ng.$compileProvider.directive Directive} — An attribute or element that + augments an existing DOM element or represents a reusable DOM component - a widget. * {@link api/angular.module.ng.$interpolate Markup} — The double curly brace notation `{{ }}` to bind expressions to elements is built-in angular markup. * {@link dev_guide.templates.filters Filter} — Formats your data for display to the user. @@ -21,7 +21,8 @@ Note: In addition to declaring the elements above in templates, you can also ac in JavaScript code. The following code snippet shows a simple angular template made up of standard HTML tags along with -angular {@link api/angular.module.ng.$compileProvider.directive directives} and {@link dev_guide.expressions expressions}: +angular {@link api/angular.module.ng.$compileProvider.directive directives} and curly-brace bindings +with {@link dev_guide.expressions expressions}: <pre> <html ng-app> |
