Testing AngularJs features