Tag: AngularJS

Testing AngularJS Templates, Directives, Controllers, Services, Factories, and Filters

Angular is a framework that offers impressive testing ability through unit tests and template-based testing, which we will consider template-based unit testing.

Common Jasmine Matchers for AngularJS

Below are some useful matchers for AngularJS testing. Add them to a file called “matchers.js” and be sure to add that file to your test runner.

A better safeApply with Angular 1.5

Many of you might have run into this error at some point in time: Error: $digest already in progress This is typically created when someone calls $scope.$apply() in the middle of their code. Angular can be finicky about… Read More

Unit testing Angular the right way

There are a number of different methods used to test code, we’ll discuss integration testing and unit testing. A unit test is a test which is written to verify the functionality of a relatively small piece of code…. Read More

Website Optimization – A General Guide + Angular

This article will describe some standard methods to use to optimize your websites. It will also include some tricks for Angular that will increase its performance. This is not going to be a comprehensive article, but it should… Read More