Skip to content

Commit 4940757

Browse files
committed
removed double "dotted" reason for controllerAs
1 parent a7c44e0 commit 4940757

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

README.md

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -203,8 +203,6 @@ Many of my styles have been from the many pair programming sessions [Ward Bell](
203203

204204
*Why?*: Helps avoid using `$parent` calls in Views with nested controllers.
205205

206-
*Why?*: It promotes the use of binding to a "dotted" object in the View (e.g. `customer.name` instead of `name`), which is more contextual, easier to read, and avoids any reference issues that may occur without "dotting".
207-
208206
```html
209207
<!-- avoid -->
210208
<div ng-controller="Customer">

0 commit comments

Comments
 (0)