From 310f129c1d5d54f68074000d7b12ec0258e6fc4f Mon Sep 17 00:00:00 2001 From: Igor Minar Date: Tue, 21 Jan 2014 17:13:56 -0800 Subject: docs(guide/directive): clarify attr object definition Closes #5884 --- docs/content/guide/directive.ngdoc | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'docs') 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 -- cgit v1.2.3