aboutsummaryrefslogtreecommitdiffstats
path: root/docs/content/error
diff options
context:
space:
mode:
Diffstat (limited to 'docs/content/error')
-rw-r--r--docs/content/error/compile/nonassign.ngdoc7
1 files changed, 5 insertions, 2 deletions
diff --git a/docs/content/error/compile/nonassign.ngdoc b/docs/content/error/compile/nonassign.ngdoc
index f3c4dd2c..792f88a1 100644
--- a/docs/content/error/compile/nonassign.ngdoc
+++ b/docs/content/error/compile/nonassign.ngdoc
@@ -23,8 +23,11 @@ myModule.directive('myDirective', function factory() {
Following are invalid uses of this directive:
```
-<my-directive bind="1+2"> <!-- ERROR because `1+2=localValue` is an invalid statement -->
-<my-directive bind="myFn()"> <!-- ERROR because `myFn()=localValue` is an invalid statement -->
+<!-- ERROR because `1+2=localValue` is an invalid statement -->
+<my-directive bind="1+2">
+
+<!-- ERROR because `myFn()=localValue` is an invalid statement -->
+<my-directive bind="myFn()">
```