AngularJS Services

AngularJS Services are lazily instantiated singleton objects that be can used everywhere in your application. You can inject your services into your controllers, directives, and filters by specifying the name of the service in the declaration of your function.
Within this series of posts, we will explore the usages and benefits of the AngularJS Service provider.

AngularJS Services are created by the Injector service. The Injector service is one of the five types of “AngularJS recipes”.
You can read more about AngularJS providers.

AngularJS logo

AngularJS

Continue reading

Unit testing Javascript with phantomjs, and jasmine

JavaScript is a powerful scripting language that couples HTML markup and functional event-driven scripting, into rich and extremely versatile web applications. Unit testing JavaScript is a relatively new field, and in this article I will dive a little deeper into the tools I used in my recent JavaScript project: phantomjs and jasmine

Continue reading