In Laravel we can escape {{}} by prefixing the first curly brace with an @ symbol.
@{{ $variable }} will return {{ $variable }} and AngularJS can deal with that.
Now, I have an image tag in the blade like the following:
<div ng-repeat="ratingImage in user.ratingImages track by $index"><img src="@{{ ratingImage }}"/></div>
and when I run this I get the following errors in my firebug console:
If it is a blade variable you will not be able to loop through it with ng-repeat as angular has no idea what it is.
It would be better to populate it with a separate http request using the $http module.
If it is already an angular variable then remove the @ as blade wont know what it is and angular should be the one printing it.
Try to change either one syntax to avoid conflict!
// example for blade
Blade::setContentTags('<%', '%>'); // For variables.
Blade::setEscapedContentTags('<%%', '%%>'); // For escaped data.
or
var customInterpolationApp = angular.module('customInterpolationApp', []);
customInterpolationApp.config(function($interpolateProvider) {
$interpolateProvider.startSymbol('{['); // or change it to something else
$interpolateProvider.endSymbol(']}'); // or change it to something else
});