TDD and BDD with AngularJS