Quantcast
Channel: Angular2
Browsing latest articles
Browse All 53 View Live

Image may be NSFW.
Clik here to view.

Upgrading to the latest Angular CLI

As of the Angular CLI beta 30, the command to install Angular CLI looks as follows: npm install -g @angular/cli To get rid of the old version of Angular CLI and install the new one, run the following...

View Article



Image may be NSFW.
Clik here to view.

Angular 4: Changes in the router

Angular 4 comes with some useful changes in the router. Let’s take a look at the changes in receiving parameters by a route and in the CanDeactivate guard (see here). A route can receive the parameters...

View Article

Image may be NSFW.
Clik here to view.

Yarn package manager: yarn.lock

Yesterday, I was running yet another Angular workshop. After explaining how to install dependencies using npm, I show how to use Yarn (see this blog), a faster alternative to npm, and suggest that the...

View Article

Image may be NSFW.
Clik here to view.

My presentations and workshops in 2017

This is a list of presentations and workshops that Yakov Fain offers in 2017. If you’d like to invite Yakov to deliver these talks/workshops at your organization, please send an email at...

View Article

Image may be NSFW.
Clik here to view.

Migrating your apps from AngularJS to Angular

So you have an Angular JS in prod and you want to migrate it to the latest version of Angular. The first question to answer is why? While talking to our clients, I’ve heard the following answers: – We...

View Article


Image may be NSFW.
Clik here to view.

RxJS Essentials. Part 2: map, filter, reduce

In the previous article, I introduced the main players or RxJS, and now let’s start getting familiar with RxJS operators. In this article well use the operators map(), filter(), and reduce(). As the...

View Article

My books

Books that I authored or co-authored 0. Get programming with TypeScript, Manning Publications, 2019 1. Angular Development with TypeScript, Second Edition, Manning Publications, 2018 2. Angular 2...

View Article

Wrapping a RxJS observable stream into an Angular service

Angular’s dependency injection mechanism allows us to cleanly separate business logic (services) from UI (components). What if our app generates a stream of values and we want to implement it as an...

View Article


Always commit your yarn.lock file into the source code repo

I use the Yarn package manager for all my Angular projects. Besides being faster than npm, yarn creates a file yarn.lock that stores the exact versions of installed dependencies. Last year, I wrote...

View Article


How to use Facebook

During the last year or so, Facebook is censoring its users. For example, before the US presidential elections, they blocked a respected newspaper New York Post for publishing the info about the...

View Article
Browsing latest articles
Browse All 53 View Live




Latest Images