aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorposhest2014-03-18 00:02:15 +0100
committerIgor Minar2014-03-17 16:13:34 -0700
commitc9fbb472b7b798853a8ea48dae6f85dfbc51b8c4 (patch)
treef88a5391872fb4f3dcee06ff2e8081529ba0041f
parentdf6d34c52b1070d41cd0930d688a450c991c3fab (diff)
downloadangular.js-c9fbb472b7b798853a8ea48dae6f85dfbc51b8c4.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>
```