How to use javascript(Angular.js) with laravel get php url(asset) -
i use javascript(angular.js) laravel
<aside data-ng-include=" {{ asset('layout/nav') }} " id="nav-container"></aside>
but error:notfoundhttpexception load no path,
what can read .php file?
im little confused on trying do, seems using asset() link directory. use laravel function link_to() instead, since made generate links paths.
here link laravel documentation more information on link_to() , asset():
Comments
Post a Comment