aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorposhest2014-03-18 00:02:15 +0100
committerVojta Jina2014-03-21 11:42:18 -0700
commitdadce485a7a1d30fb5614188ebd8a361c9990060 (patch)
tree115982d5778a8292a957e6ee8915ecdbd59775b6
parent344cdce1365f99807453d9cad125a5d5a6564294 (diff)
downloadangular.js-dadce485a7a1d30fb5614188ebd8a361c9990060.tar.bz2
docs(errors/$compile/nonassing): update nonassign.ngdoc
It might seem obvious that if you don't supply "bind" attribute in this case, you'll get an error, but I feel this is worth adding to the doc. Closes #6725
-rw-r--r--docs/content/error/$compile/nonassign.ngdoc3
1 files changed, 3 insertions, 0 deletions
diff --git a/docs/content/error/$compile/nonassign.ngdoc b/docs/content/error/$compile/nonassign.ngdoc
index 3a7d996b..7486ba70 100644
--- a/docs/content/error/$compile/nonassign.ngdoc
+++ b/docs/content/error/$compile/nonassign.ngdoc
@@ -30,6 +30,9 @@ Following are invalid uses of this directive:
<!-- ERROR because `myFn()=localValue` is an invalid statement -->
<my-directive bind="myFn()">
+
+<!-- ERROR because attribute bind wasn't provided -->
+<my-directive>
```