Node.js

Service in AngularJS

When we are working on MVC (or MVVM for AngularJS) Design-Patterns, our application is loosely coupled because of different independent components defined for e.g. Controller, View, Services, Modal/Data etc. All the components have their own work/role but today we will discuss only Services. Services are that part of application where...

by Amit Kumar
Tag: sharing
29-Jun-2014

Technology

Common functionality among Multiple Controllers

Many a times, we see a requirement, where we have to write same functions in multiple controllers just to share a common functionality among them, which is a bad approach, because in future, if any changes are required to that function, we’ll have to make the changes manually in all the copies of that function where it is defined or if...

by Amit Kumar
Tag: sharing
02-May-2014

Technology

Linux Trick for screen collaboration or shell sharing

In recent week, i got to know about really good way of collaborating the screen in a linux.   Let us take a scenario, Suppose User having name 'B' on the 5th floor of the company is having a problem/difficulty related to code execution, unable to figure out what to do?, and then he call the fellow guy who can help him out, but he...

by Tarun Pareek
Tag: sharing
14-Nov-2010