using angulars JS for front and Silex for API