Testing AngularJs agile approach