How to Lazy and Dynamically Load a Component in Angular

There are three ways you can use a component in an Angular app. Loading on route change Using as a child component Dynamically loading on demand However, this article focuses on loading a component dynamically and lazily. The main advantage of lazily loading a component is reducing the initial bundle size and only downloading theContinueContinue reading “How to Lazy and Dynamically Load a Component in Angular”

Video – Angular Interview : is Angular Service Singleton ?

One of the most popular Angular interview questions is, whether a service is singleton? By default, when you create a service using the below CLI command, ng g s app AppService is singleton, however it can be re-provided to create more objects of it. Say, you again re provide AppService in one of the components,ContinueContinue reading “Video – Angular Interview : is Angular Service Singleton ?”

Explain Object.keys in JavaScript

Enumerating through the properties of a JavaScript object is a persistent requirement. Hence it becomes a popular question in a JavaScript interview. Any good JavaScript developer must know about various available options. Note: You can find a video tutorial on the same at the end of the article. To start with considering the Dog objectContinueContinue reading “Explain Object.keys in JavaScript”

Thank you for ng-India 2020, find Photos and Resources here.

Hey there! I’m Dhananjay Kumar, organizer of India’s Largest Angular Conference, ng-India. I thank you for participating in ng-India on 29 Feb 2020 in Delhi. It is you, who has made ng-India, India’s (or perhaps Asia’s) Largest Angular Conference. I hope you had a good time learning from esteem speakers from across the world, youContinueContinue reading “Thank you for ng-India 2020, find Photos and Resources here.”

Video – Step by Step using TypeScript in a Node.js Application

This video explains steps to use TypeScript in a Node.js application. You can read step by step article on the same here –  here Download source code from here https://www.youtube.com/watch?v=fOkAMBVyuo0   To start with create a folder and run npm init command inside the folder. After that install these dependencies,  npm install -D typescript npm installContinueContinue reading “Video – Step by Step using TypeScript in a Node.js Application”

Video- Why You need the apply() and the call() methods in JavaScript

To pass value of ‘this’ object in a function apply and the call methods are used. https://youtu.be/1nG3FKN3KjU   The apply() and the call() methods are used to call a function indirectly. When you call a function using the apply() and the call() methods, that is called Indirect Invocation Pattern . The first parameter is alwaysContinueContinue reading “Video- Why You need the apply() and the call() methods in JavaScript”

Recognized as a Google Developer Expert by Google

I am officially a Google Developer Expert in Angular and Web Technologies. I take this opportunity to thank the Angular global community and all my students who come to my training, meetups, and workshops. This recognition was never possible without you. I am humbled to be one of the few professionals who are awarded asContinueContinue reading “Recognized as a Google Developer Expert by Google”

Delivering two talks at Devfest Gandhinagar 2019

Ahmadabad is always very close to me as I did my first public speaking in this city back on 24 July 2010.  Since then I have been trying to do at least one workshop or talk each year here, so continuing the ritual, I am again coming to Ahmadabad/Gandhinagar on 13th October to speak inContinueContinue reading “Delivering two talks at Devfest Gandhinagar 2019”

Announced- geek97 step by step Angular Bootcamp on 5-6 October in Gurgaon

To attend register here: https://forms.gle/JSbp3yknZ7scr9BP7 Many of you asked me to host a Bootcamp in Delhi/NCR. I got motivated by your constant request, hence decided to give a try. For geek97, I am hosting the next Bootcamp in Gurgaon on 5-6 October. Details To attend register here: https://forms.gle/JSbp3yknZ7scr9BP7  and for any clarification send me aContinueContinue reading “Announced- geek97 step by step Angular Bootcamp on 5-6 October in Gurgaon”

Hosted Angular Bootcamp in Jabalpur for Taritas software

Angular is becoming more popular with each passing day in India. Companies of different sizes are using it to deliver the project for their customers.  One such company Taritas  . They have offices at multiple locations and with clients all across the world. They invited me on 21-22 September to host a 16 hrs longContinueContinue reading “Hosted Angular Bootcamp in Jabalpur for Taritas software”