Angular

Unit Testing of Angular Service with HttpClient

Reading Time: 4 minutes Services are basically used to allow your code to share the common functionality across the application. Services play a vital role in every Angular application and promote the reusability of code. And to verify that our services are working properly or not we need to test it using unit testing. First and Foremost thing we’ll do is to create the service which is to be Continue Reading

RxJS Subject and its variants

Reading Time: 3 minutes SUBJECT Subject acts as an observable and observer both which do both listen to new notifications and also send/broadcast it to any dedicated component which subscribes to it. So the first step is to import “subject” in your typescript file. import { Subject } from “rxjs/Subject”; and now quickly create a Subject with just a simple line code written below: let newSubject = new Subject(); Continue Reading

Develop Chrome Extension using Angular 7 | Part – 1

Reading Time: 3 minutes Extensions are the small software programs that are used to customize the experience of browsing. They enable the user to customize the browser’s functionality and behavior to individual needs or requirements. An extension is basically there to fulfill a single purpose that is narrow defines and easy to understand. Chrome extensions are in demand because they add features to Chrome browser to do functionalities/things easier Continue Reading

MEAN STACK: Installation (Part 2)

Reading Time: 3 minutes In the previous blog MEAN Stack: Introduction – Part 1, I have given a brief introduction of MEAN Stack and all the technologies used in it. In this blog, I’ll be discussing the installation of all the technologies one by one for Ubuntu. MongoDB: MongoDB is an open-source document database that provides high performance, high availability, and automatic scaling. The installation of MongoDB Community Edition Continue Reading

DOM Manipulation Using D3.js

Reading Time: 4 minutes D3 (Data-Driven Documents or D3.js) is a JavaScript library for visualizing data using web standards. It is an open-source JavaScript library developed by Mike Bostock to create custom interactive data visualizations in the web browser using SVG, HTML, and CSS. giving you the full capabilities of modern browsers and the freedom to design the right visual interface for your data.

Upgrade to Angular 7 in 5 Simple Steps

Reading Time: 2 minutes Angular helps to build modern applications for the web, mobile, or desktop. Currently, Angular version 7 is the latest version. Up to date with the latest version is very important. Upgrading to angular 7 is just a few simple steps: Firstly, upgrade the angular version globally by adding latest cli version sudo npm install -g @angular/cli@latest Upgrade cli version locally in your project and the Continue Reading

New Features in Angular 7

Reading Time: 3 minutes Angular is one of the most popular frameworks for making a web application and with the release of Angular 7, it has given some more powerful features which will enhance our application. So let’s dive deep into it and explore some new features introduced in Angular 7. A New ng-compiler Angular 7 added a new compiler that is called Angular Compatibility Compiler (ngcc). The new Continue Reading

MEAN Stack: Introduction – Part 1

Reading Time: 2 minutes MEAN Stands for M – Mongo DB (database system) E – Express (back-end framework) A – Angular.js (front-end framework) N – Node.js (back-end runtime environment) What is MEAN? MEAN is a full-stack JavaScript solution that helps you build fast, robust, and maintainable production web applications. The stack used in mean is: Mongo DB: Mongo DB is an open-source, document database designed for ease of development and scaling. It is Continue Reading

DATA BINDING IN ANGULAR

Reading Time: 4 minutes This blog is primarily focused on what is Data Binding and its types: – String Interpolation Property Binding Event Binding Two-Way Data Binding Data Binding is one of the most powerful and important features in a software development language. It allows us to define communication between component and view. So we can say that Data Binding is passed from component to view and from view Continue Reading

Manipulating Server returned dates at client Side in Angular

Reading Time: 2 minutes Hey Visitor, Have you ever faced an issue with the date values on your website, when the date and time returned from server doesn’t change according to the client timezone , for eg. values returned from server at US will be different for a client at India so we need to manipulate the received time according to Indian Time Zone. So recently, I encountered this Continue Reading

Fusion of Observables with Observer

Reading Time: 3 minutes RxJs is an incredible tool for reactive programming, and today we’re going to understand briefly about what Observables and observers are. OBSERVABLES Observables are wrapping around of some data source like a stream of values of any type which are typically used for asynchronous data. It is used for transfer of messages between publisher and subscriber and that message could be anything like literals, messages, Continue Reading

What’s new in ANGULAR 6?

Reading Time: 3 minutes Angular has just released its v6. This major release focuses mainly on the toolchain and making easier for the user to create an application. As part of this release, a new version has updated core framework packages (@angular/core, @angular/common & @angular/compiler etc), the Angular CLI, and Angular Material + CDK.  You can see the changelog here framework, material+cdk, cli. In this blog, I am going to explain some major changes Continue Reading