Laravel and Angular JS Exercise