You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: tutorial/07-config-routes.md
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -29,4 +29,4 @@ The first view will be injected at /inbox, and the second will be inbox/email/:i
29
29
30
30
If you look closely, you'll notice each view has a particular Controller. Later versions of Angular (we're using one of the latest) ship with a new Controller syntax, the "Controller as" syntax, which instantiates the Controller like an Object and binds it to the current scope under a namespace. The namespace I've chosen for `InboxCtrl` is `inbox`.
31
31
32
-
__Note:__ You can also declare "Controller as" in-line. It'd look like this: `ng-controller="InboxCtrl as inbox"`.
32
+
###### Note: You can also declare "Controller as" in-line. It'd look like this: `ng-controller="InboxCtrl as inbox"`.
0 commit comments