diff options
| author | Igor Minar | 2014-01-21 17:13:56 -0800 | 
|---|---|---|
| committer | Igor Minar | 2014-01-21 17:14:00 -0800 | 
| commit | 310f129c1d5d54f68074000d7b12ec0258e6fc4f (patch) | |
| tree | 2301b4db1c6a645a619dfb874be5b83cba1bbec6 | |
| parent | 0fc64ad8a111bd376de98035ec118fad6aafcb61 (diff) | |
| download | angular.js-310f129c1d5d54f68074000d7b12ec0258e6fc4f.tar.bz2 | |
docs(guide/directive): clarify attr object definition
Closes #5884
| -rw-r--r-- | docs/content/guide/directive.ngdoc | 3 | 
1 files changed, 2 insertions, 1 deletions
| diff --git a/docs/content/guide/directive.ngdoc b/docs/content/guide/directive.ngdoc index f77bda03..040d9e76 100644 --- a/docs/content/guide/directive.ngdoc +++ b/docs/content/guide/directive.ngdoc @@ -527,7 +527,8 @@ where:  * `scope` is an Angular scope object.  * `element` is the jqLite-wrapped element that this directive matches. -* `attrs` is an object with the normalized attribute names and their corresponding values. +* `attrs` is a hash object with key-value pairs of normalized attribute names and their +  corresponding attribute values.  In our `link` function, we want to update the displayed time once a second, or whenever a user  changes the time formatting string that our directive binds to. We will use the `$interval` service | 
