Suroor Wijdan

Suroor Wijdan is an avid blogger, a node.js developer and has keen interest in open source technologies like Android.

AngularJS, Front End Development

AngularJS : Getting started with Directives

In this post we will go through an important aspect of AngularJS i.e., Directives. Directives helps us do things in a better and cleaner way. Lets get into the code rather going into theoretical explanations, which will make it more clear what actually directives do. We have written a simple directive below which shows some HTML when...


AngularJS, Front End Development

AngularJS: Sharing Data between two controllers through a service

The topic of this post is quite confusing for many developers as they face problems in identifying the best practice to share data between controllers in AngularJS. Some of the articles out there tell to use $rootScope but that's not the correct approach to enable this functionality. A more cleaner and better way of doing so is through...



Node.js: Getting started with Express.js and MongoDB

In my previous post, I explained how to get started with node.js and executing your first script with node. Now in this tutorial, we will go a step ahead and learn using Expressjs and MongoDB. For people who are new, Express is a web application framework for node which provides a set of features that can be used to build single-page as...



Getting started with node.js on Linux

In this tutorial i will walk you through the installation of node.js on your Linux system and executing your first script with node. To get started goto the official node.js website and download the Linux Binaries file (as shown in the screenshot below) according the bit version of your system. Save the downloaded file in a specific...



Difference between call() and apply() method of JavaScript

Many people get confused with these two functions in JavaScript, most of the time people think that we can pass an object in apply() and access it with this which is not possible with the call() method. But that is not the case, let's see an example which will make it more clear. Using call() method: [js] (function sum(a,b,c) { ...