Laravel throwing error for route with Angular

This is pretty much it, the 'id' => '@{{ }}' breaks it

<a href="{{ route('my.path', ['id' => '@{{ }}' ] ) }}">#@{{ }}</a>

I get

syntax error, unexpected '}'

Any idea how I can use angular data in route? Or another solution?

This doesn't work either (same error)

<a href="{{ action('MyController@show', '@{{}}' ) }}">#@{{ }}</a>


Got a bit of a hacky solution

<a ng-href="{{ route('my.path' , '') }}/@{{ }}">#@{{ }}</a>

To make it a bit more readable I did this:

$scope.viewPath = "{{ route('my.path' , '') }}";

And then

<a ng-href="@{{ viewPath + '/' + }}">#@{{ }}</a>

Need Your Help

How can i concatenate row text with comma in excel?

excel excel-formula concatenation

I have an excel data as follow and i want to concatenate skills that seperated by comma according by person name like this;

Highlight table cells in Word 2010 that have tracked changes

ms-word word-vba

I'm looking to highlight table cells with tracked changes.