RxJS : Observables and Subjects

The purpose of this blog is to simplify the understanding process of Observables and Subjects, which seem confusing when we start learning these concepts. First let's understand Observables. I. Observables: As per the ReactiveX documentation, An observer (sometimes called a "subscriber", "watcher", or "reactor") subscribes to an Observable. An Observable emits items or sends notifications to its observers by calling the observers’ … Continue reading RxJS : Observables and Subjects

Social Sharing in Angular

This blog handles the requirement to include social sharing capability in your Angular application. This is one of the most common functional requirements in any application. Below I have listed two approaches to achieve social sharing in an Angular application. Using ng2-social-share Install using npm npm install --save ng2-social-share Import in app.module.ts or whichever module you want to include … Continue reading Social Sharing in Angular

Angular cheat sheet

A cheat sheet for you to learn and use Angular.  Bootstrapping an application using AppComponent  index.html - The single html file which first gets loaded for any single page application.This should include the selector of the primary component (AppComponent) <body> <app-root>Loading...</app-root> </body> main.ts - The main entry point of the application and the first file … Continue reading Angular cheat sheet