A TDD approach with AngularJS and karma.