Podaj tablica z kontrolera do JavaScript Blade
var array = @json($arrayFromController)
nanaseous
var array = @json($arrayFromController)