Guided Notes
Introduction to AngularJS
Scope, controllers, and two-way binding.
AngularJS (version 1.x) is the predecessor to modern Angular — a different, older framework with its own patterns, still running in a large number of legacy production apps.
Its signature feature is two-way data binding: `ng-model="name"` on an input automatically keeps a `$scope.name` variable in sync with what the user types, no manual event listener required.
A controller (defined with `ng-controller`) attaches behavior and data to a section of the page via `$scope` — the bridge between your JavaScript logic and the HTML template.