docs(guide/directive): clarify attr object definition

Closes #5884
This commit is contained in:
Igor Minar 2014-01-21 17:13:56 -08:00
parent 0fc64ad8a1
commit 310f129c1d

View file

@ -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