I\'m developing a project using Laravel 5 and AngularJS. I want to enable
$locationProvider.html5Mode(true);
and stop the page from reloadi
I changed my route.php to
Route::get('/', function () { return View::make('index'); }); Route::get('{all}', function () { return View::make('index'); });
And added a base <base href="/"> to my index.php Everything works now and the page doesn't refresh.
<base href="/">