Why angularjs error response prints the laravel error with square bracket and double quote?
<p>I'm trying to print the laravel error through angularjs, i have done but there is problem inside the code. Script is also showing square bracket and double quote. </p>

<p><strong>Validation in Controller</strong> </p>

<pre><code>$this-&gt;validate($request, [
    'email' =&gt; 'required|email',
]);
</code></pre>

<p><strong>In AngularJs</strong> </p>

<pre><code>request.error(function (error) {
    $scope.mError = error.email;
    $scope.loader=false;
});
</code></pre>

<p><strong>In HTML</strong></p>

<pre><code>&lt;div class="err" ng-if="mError"&gt;@{{ mError }}&lt;/div&gt;

**OutPut**
["The email must be a valid email address."]
</code></pre>

<p>Can anyone guide me how can i prevent to print the double quotes and square brackets with error? I would like to appreciate. Thank You</p>