Template of application with Angular, Require and mockups for HTTP services