Category Archives: AngularJs2.0

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

Using Http services for storing and fetching user info: Angular 2


Using Angular 2 Http get, post services is the most essential requirement when you are working on any Angular 2 app because anyhow you will have the scenario to store some user information from your end and you have to … Continue reading

Posted in AngularJS, AngularJs2.0, Scala | Tagged , , , , | 1 Comment

Using Resolve -Promises in Angular 2 Http Services


You have a huge list of users that you have to show on one of the views in angular 2 app, you called the action to redirect to users list view and the page is blank because your HTTP service is … Continue reading

Posted in Angular Material, Angular Strap, AngularJS, AngularJs2.0, Scala | Tagged , , , , | Leave a comment

Location Strategy- Routing in Angular2


Angular 2’s router is super easy to use. Angular 2 gives you the possibility of dividing your application into several views that you can navigate between through the concept of routing. Routing enables you to route the user to different … Continue reading

Posted in Angular Material, AngularJS, AngularJs2.0, Scala | Tagged , , , | 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

When I took Angular 2 to build my Application


When I took Angular 2 to build my application, I still had my doubts to go with Angular 2 or some other framework. But after some research, I decided to go with Angular 2. It gives the ability to make … Continue reading

Posted in Angular Material, Angular Strap, AngularJS, AngularJs2.0, JavaScript, web application | Tagged , , | 7 Comments

Understanding “this” in JavaScript


Function in javascript have properties, Just like javascript Object have properties. And when function get execute, It get the this property Lets Take a closer look at “this”. this is a special character/keyword in javascript, As we know working with … Continue reading

Posted in AJAX, AngularJS, AngularJs2.0, HTML, JavaScript, jQuery, knoldus | Tagged | 10 Comments

Knolx: Intro to Ionic 2-Angular 2, & Ionic1 Vs Ionic2


Knoldus organized a session on “Introduction to Ionic 2 with Angular 2”. That covered the differences between Ionic 1 and Ionic 2, As Ionic 2 is best compatible with Angular 2 (typescript) so some of the commands and components also … Continue reading

Posted in AngularJS, AngularJs2.0, cordova, Scala | Tagged , , , , | 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

Implementation of Gulp.js from Scratch


Are you tired of doing  the same things manually i.e., creating the folders, compiling and copying  the files deploying them on separate environments (i.e., dev or prod) manually.  A lot of mouse clicking,  lot of  copy-paste, a lot of configuration changes … Continue reading

Posted in AngularJS, AngularJs2.0, JavaScript, knoldus, Scala, Tutorial | Tagged , , | Leave a comment