Age | Commit message (Collapse) | Author |
|
Clicking on the button prints the current name to the console. Normally
you wouldn't include the debug console in the controller scope, but this
is here as an example to illustrate the action. The window isn't
available to the controller's scope, it only includes what it defines on
its scope.
|
|
Add an input to the component and use an `ng-model` to allow users to
change the name in the "Hello ____" output.
|
|
Create a new component for a Hello World example. This is housed in a
new `n.Hello` module.
For now, just print a hard-coded name to the page.
Update the `n.Notes` module adding a dependency on `n.Hello` in order
for our new component to be displayed.
|