Introduction Angular
Angular is described on it's homepage as "The modern web developer's platform" and after working with it since 2017 I agree completely with this statement.
Angular applications are developed using TypeScript instead of JavaScript. TypeScript is much more restrictive than JavaScript preventing many programming mistakes from making it into production. For example, the following code would be accepted by your editor in JavaScript but present the user with an error in TypeScript.
let pi = 3.14; pi = 'apple crumble'; // <-- This line would show an error in your editor and at compile time
TypeScript has many features that help you write better JavaScript code. Full documentation can be found on the TypeScript site at https://www.typescriptlang.org/.
Lesson Overview
This lesson will cover basic Angular skills including:
- Understanding the folder structure of an Angular project
- Components
- Data Binding
- Services
- Routing
- Installing External Packages
Prerequisites
- Angular must be installed on your development PC.
- Visual Studio Code or another developer editor must be installed.
- It is highly recommended that you complete the Tour of Heroes Tutorial available on the Angular homepage. Some concepts in this tutorial may be difficult to understand but will become clear as you see them again in this lesson.