How this AngularJS track works
- Legacy AngularJS 1.8 — loaded from CDN in a sandboxed preview; this track is for maintaining existing apps, not starting new projects.
- JavaScript playground — register
angular.module, defineMainCtrl, thenmountApp('moduleName', templateHtml). - Prerequisites — finish JavaScript (functions, objects, DOM, async). TypeScript is optional here but essential for modern Angular.
Use printOutput(...) for terminal values. Add ngRoute or ngSanitize to the module deps array when lessons require them.
Install on your device (macOS, Linux, Windows)
Lessons run in your browser on this site—install a modern browser and optional editor for local projects.
macOS
- Use Safari (preinstalled) or install Google Chrome / Firefox.
- Optional editor: VS Code (
brew install --cask visual-studio-code). - Open DevTools with ⌥⌘I (Chrome/Edge) or ⌥⌘C (Safari Web Inspector).
Linux
- Install Chromium or Firefox:
sudo apt update && sudo apt install -y chromium-browser firefox(Debian/Ubuntu; package names vary by distro). - Fedora:
sudo dnf install -y chromium firefox. - Optional editor: VS Code from code.visualstudio.com or
sudo snap install code --classic.
Windows
- Install Microsoft Edge or Chrome.
- Optional editor: VS Code (
winget install Microsoft.VisualStudioCode). - Open DevTools with F12 or Ctrl+Shift+I.
Verify: Open any lesson playground and click Run—output appears without installing a compiler.
AngularJS (1.x) is a legacy JavaScript framework for HTML templates, two-way binding, scopes, and directives—still maintained in millions of production apps.
How this track differs from plain JavaScript
If you completed the JavaScript track, you know functions, objects, and DOM APIs. AngularJS 1.x organizes UI with modules, scopes, and directives—but it is legacy: use this track to maintain existing apps, not to start new products.
Compare with modern Angular (TypeScript platform) and Vue / React when planning migrations.
What you will learn
- Modules, controllers, scope, and two-way binding
- Built-in and custom directives, services, and $http
- Forms, ngRoute, digest cycle, and safe maintenance habits
Playground setup
AngularJS 1.8 loads from CDN. Use printOutput(...) for terminal values. Register angular.module and MainCtrl, then mountApp('moduleName', templateHtml) to bootstrap in #ng-app.
Important interview questions and answers
- Q: Why does this matter?
A: AngularJS (1.x) is a legacy JavaScript framework for HTML templates, two-way binding, scopes, and directives—still maintained in millions of production apps.
Self-check
- Summarize Introduction to AngularJS in one sentence.
- What would you try next in the playground?
Interview prep
- What is AngularJS in one sentence?
Legacy 1.x framework extending HTML with directives, scopes, two-way binding, and a digest cycle—maintain existing apps, not greenfield.