Categories
Angular Java Script Tutorials

Understand Angular Directive with Example [Video]

Angular directive makes more sense when used in an example. The interesting example will make things fun to understand and follow. In our scenario we will handle the images that are failed to load. If you are more of a video person that I have also attached the video the end of the article Watch […]

Categories
Java Script Tutorials

Shuffle an Array by extending built-in objects

Imagine if you transform your data like array for most of the time. Often times for loop with other variables are used to do the job. If it’s repeated than that code is extracted to its own function. Why not we extend the built in Array method and make it simple to use. Shuffle an […]

Categories
Angular Java Script Tutorials

Barrel file benefits in JavaScript

Barrel file is a single place to re export your functions, variables etc for your modules. I have divided this post into Introduction Caveats Case Study

Categories
Electron Tutorials

Writing your first app with Electron

This post is in continuation with the previous posts about creating desktop application using Electron app framework I have covered Introduction in previous post. Our Approach We can get started with two approaches Bottom to top: With this approach we can start really from basics like words, sentence and paragraph and build up. Top to […]

Categories
Tutorials

Swapping variables values hasn’t been that easy in JavaScript

Now with new language features Javascript swap variable values very easily. While doing laundry a thought popped up in my mind and how it relates to JavaScript. Imagine the following picture. Now how you could swap clothes from these two machines. You do need a temporary container to hold clothes from side and make the […]