Definitions for AngularJs Scenario Testing