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 Vojta Jina
parent 344cdce136
commit dadce485a7

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