I have the following laravel html/blade page and i want to pass in a storeid that then can get picked up via angular to then use to get and do some workings with.
Should I place them in the public folder of the Laravel installation or should I keep them completely
separate since the I would be issuing calls to the resources in the web service and it would return
JSON data and hence there is no need for them to be in the same place.
I’m trying to build a visitors counter in Laravel….
So i work with Laravel 4.2, what i want is in one of my models use an external database, this is my model code :
I have a Laravel 4.2 application which works with PHP5 without any problems. Since I installed a new vagrant box running PHP7 an error appears as soon as I run a model where the name of a function is the same as the class name (relationship-function) like this:
I am trying to get data from the database then display the data in input form as default. I’m using angularjs
$http get method to retrieve the data but failed.
I am working on Angular app. I tried to use ng-if and switch inside ng-repeat but didn’t succeed. I have data like:
I have a resource ‘roles’ which has a many to many relationship with ‘user’. To administer ‘roles’ I need to send the role id and the user id to the server so that it removes the the role from the correct user (not necessarily the logged in user)
I’m building application with angularjs and laravel 4.
Everything is fine but I need now to allow only XHR requests.
I am having a strange problem with aws, mysql, laravel and angular.