Usando o Laravel 5 com conflito de tag blade AngularJS
Estou tentando configurar o Angular com o Laravel 5.
Eu tentei fazer no appServiceProvider:
public function boot()
{
\Blade::setRawTags("[[", "]]");
\Blade::setContentTags('<%', '%>'); // for variables and all things Blade
\Blade::setEscapedContentTags('<%%', '%%>'); // for escaped data
}
Com:
<div>
<input type="text" ng-model="yourName" placeholder="Enter a name here">
<h1>Hello, {{ yourName }}!</h1>
</div>
Mas eu estou recebendo:
Use of undefined constant yourName - assumed 'yourName'...