Angular 2 (And A Little TypeScript): A Case-Study Approach

Google's Angular framework is one of the most popular JavaScript UI scaffolds on the planet. It's used by Google itself, of course, but also by Virgin America, HBO, Nike, General Motors, Sony and many more. That said, Angular 1.0 had problems, both structural and performance related. As a consequence, Google completely rewrote the framework, releasing the version 2.0 beta in 2016.

Angular2 is a completely different library than the old version, so different that there's some question whether it should even be called Angular. Angular2 has a radically different, much improved, architecture and syntax, is easier to use, and is much faster. Though Google is committed to continue its support for Angular 1 for the foreseeable future, Angular2 is the path forward. You should use it in new applications.

The implementation language of choice for Angular2 applications is TypeScript, not raw JavaScript. TypeScript augments JavaScript with many useful features such as true classes without the hassle of "prototyping." In this class, we'll learn those parts of typeScript that you'll need to put together an Angular2 application.

This hands-on class is an in-depth look at Google's Angular2 framework. It uses a case-study approach, analyzing a small blogging application, and we'll build our own application over the course of the day. Coming to the class with nothing but a little JavaScript and basic HTML, you'll come away knowing enough Angular2 to use it effectively to build nontrivial real- world applications. You'll thoroughly understand Angular2's architecture and how Angular fits into your larger application, and along the way, you'll learn a little TypeScript.

The class focuses on Angular itself; we will not spend time building a web server, for example.