The project setup

In order to use Angular in our project, we'll need to install both TypeScript and Angular. We'll need to use the TypeScript transpiler to convert our TypeScript files into valid ES5 or ES6 JavaScript files. Furthermore, since Angular is a frontend framework, installing it requires the inclusion of JavaScript files in the main page of your application. This can be done in various ways, and the easiest one would be to download the files you need and store them in the public folder. Another approach is to use Angular's CDN and load the files directly from the CDN server. While these two approaches are simple and easy to understand, they both have a strong flaw. Loading a single third-party JavaScript file is readable and direct, ...

Get MEAN Web Development - Second Edition now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.