I have a Laravel 5.0
project and inside of that I have a foo.blade.php
file,in here I want to use some Javascript
to get the pathname of the link the user currently in like so
window.location.pathname
Is it possible? Or blade templating allows only php
to be written on the file?