Laravel like AngularJS