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
This commit is contained in:
poshest
2014-03-18 00:02:15 +01:00
committed by Igor Minar
parent df6d34c52b
commit c9fbb472b7

View File

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