I am using a combination of laravel and angular.js . For angular I changed the interpolateProvider symbols to <% %>. For laravel i am using the standard {{ }} symbols.
Now to use an angular variable in my view and pass this to a function in laravel.
I tried this:
{{ route('getEdit', ['id' => <% loop.id %>]) }}
Where loop.id is from an ng-repeat from angular. And route is the routing function from laravel.
This gives an error :
syntax error, unexpected '<'