JavaScript Tutorials, Tips & Tricks

JavaScript Singleton Design Pattern

JavaScript Singleton Design Pattern

JavaScript Singleton pattern ensure that only a single instance of the class may exits in application. Details of singleton design pattern can be found in the an existing post named Java Singleton Design Pattern...

JavaScript Module Design Pattern

JavaScript Module Design Pattern

JavaScript Module pattern provides a way to wrap public, private methods (and variable) into a single entity and exposing only the public members to the world outside of module. This allows faster namespace resolution,...

AngularJS Controller Tutorial with Example

AngularJS Controller Tutorial with Example

Let us talk about one of the AngularJS’s most useful feature which helps in making awesome single page applications in JavaScript – The Controller. This tutorial is part of series of tutorials on AngularJS...