Three new Angular Courses to celebrate end of the Year 2017
Iâve worked hard in the last couple of months to get ready for this massive release and to finally get some Angular love to Egghead.io. Now theyâre ready and out in the wild for you. Hereâs a quick wrap-up on all of the 3 courses. Enjoy :smiley:
Learn Http in Angular
Well this is something youâll most probably have to deal with in any serious Angular app. Whenever you need some data to show in your app, youâre going to query some backend API. But hey, why an entire course on it, I could simply use the native fetch API, right? Sure, but thereâs more. Angular comes with its own Http service, which not only makes it super easy to query your backend API, but it also natively integrates with RxJS Observables and TypeScript.
There are currently 2 Http modules within Angular. @angular/http
is the âoldâ, and starting with Angular version 5, deprecated package. The new one resides under @angular/common/http
and has a couple of really nice improvements such as
- better integration with TypeScript, allowing to basically specify the expected TypeScript type when executing an HTTP request
- making HTTP interceptors super easy to write which is especially useful for appending common headers or performing global HTTP error handling and retries
- progress events for like file uploads
- better mocking during unit testing
âŠand a lot more. All of which weâre going to cover in the course :smiley:.
Start course now
(paid course* )
Create Dynamic Components in Angular
Components are nice and sweet, but câmon, once things get more real, youâll need some more dynamic behavior :sunglasses:. Thatâs exactly what weâre going to learn in this course. In the course Iâm taking an Angular tabs component (I wrote a blog post on creating a tab component a while back) and make it dynamic. Weâll learn about
<ng-template>
, how to define them, what theyâre good for and how we can pass them around- how to place a
<ng-template>
at some arbitrary place usingngTemplateOutlet
- how to pass in data to these
<ng-template>
definitions usingngTemplateOutletContext
- and finally how to dynamically instantiate an Angular component by using things like
ViewContainerRef
,ComponentFactoryResolver
and so onâŠ
Start course now
(paid course* )
Oh, I happen to have a blog post on dynamic tabs as well đ.
Create Dynamic Forms in Angular
Finally, forms. Angular has two different options for that: Template driven and Model driven, better known as Reactive Forms. Both have pros and cons of course. If you come from AngularJS (v1.x) then youâll immediately like the template driven approach. ngModel
and friends make you feel at home. But I highly recommend you to take a closer look at the reactive forms approach. Itâs new and might seem a little bit odd initially, but theyâre extremely powerful. In this course we will even go a step further and explore how we can use them to build forms in completely dynamic manner, based on some JavaScript object which could even be sent from your backend server API.
Start course now
(paid course* )
Whatâs next?
This is not all, itâs just the beginning :smiley:. Iâve some more courses, blog posts under way. So keep an eye on Twitter and on my Egghead instructor profile.
* All courses are usually free for the first 3 days and will then automatically switch to become part of the PRO course series. It basically means that you need to be a PRO subscriber on Egghead.io to watch them. If you wanna support my efforts, then definitely go & get a PRO membership if you didnât already. Itâs totally worth it and you wonât only get my courses, but tons of others in the frontend dev space, covering TypeScript, RxJS and much more :smiley: