AngularJS application for Firefox OS with Laravel 4 as REST API