Author Archives: akshayrana14

Testing HTTP services in Angular


Prerequisites : 1. Understanding of Angular. 2. Understanding of Component’s unit tests in Angular 3. Understanding of Karma and Jasmine Http Service Let’s consider a simple service to get data using get method of Http service. Let’s start with writing … Continue reading

Posted in AngularJs2.0, JavaScript, testing | Leave a comment

How data is handled between Components in React (State vs Props)


Prerequisites : Basic understanding of React. Here’s a blog you can refer to : Getting Started with React PROPS Every component in react have a property called props associated to it. This lets you make a single component that is … Continue reading

Posted in JavaScript, React, Reactive, ReactJS | Tagged , , , , , | 1 Comment

Getting Started with React


React (sometimes called React.js or ReactJS) is an open-source JavaScript library for building user interfaces. React allows developers to create large web-applications that use data that can change over time, without reloading the page. It aims primarily to provide speed, … Continue reading

Posted in JavaScript, React, ReactJS | Tagged , , , | 1 Comment

Bundling an Angular 2/4 app with AOT Compilation


Prerequisite : Good knolwledge of Angular 2/4 Basic knowledge of gulp. Step 1 : Ahead-of-Time(AOT) Compilation : Angular application consists of components and their html templates. To run them on browser, they are compiled to executable javascript by the angular … Continue reading

Posted in Scala | Leave a comment

Validations for Template-driven forms in Angular 4


Prerequisite : Basic understanding of Angular 2/4 First of all, we need to create a simple form in Angular. You can clone this repository for the example. We’ll continue further with this example. This is the form that we have … Continue reading

Posted in Angular Material, AngularJs2.0, JavaScript | 3 Comments

Knolx – Introduction to Angular 2


Hi all, Knoldus has organized a 30 min session on 17th March 2017 at 4:50 PM. The topic was Introduction to Angular 2. Many people have joined and enjoyed the session. I am going to share the slides here. Please let me … Continue reading

Posted in Scala | Leave a comment

Implementing ag-Grid in Angular 2


What is ag-Grid? ag-Grid is a JavaScript Data Grid for Building Enterprise Web Applications. It is one of the most widely used grid. It provides features like sorting, filtering, selection, re-sizing and many more. Here’s an inspiring article of how … Continue reading

Posted in AngularJs2.0 | Tagged , , , , , , , | 18 Comments