Skip to content
This repository was archived by the owner on Apr 12, 2024. It is now read-only.

Commit c9fbb47

Browse files
poshestIgorMinar
authored andcommitted
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
1 parent df6d34c commit c9fbb47

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

docs/content/error/$compile/nonassign.ngdoc

+3
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,9 @@ Following are invalid uses of this directive:
3030

3131
<!-- ERROR because `myFn()=localValue` is an invalid statement -->
3232
<my-directive bind="myFn()">
33+
34+
<!-- ERROR because attribute bind wasn't provided -->
35+
<my-directive>
3336
```
3437

3538

0 commit comments

Comments
 (0)