I'm trying to use Angular 1.6 in Laravel blade it raise exception. I have tried this link to solve and many other answer I have tried but non of these worked for me. here is code
<div class="row" ng-app="CalculatorApp" ng-controller="CalculatorController">
<p>Profit Before {{ var }} </p>
</div>
here is Js co
angular.module('CalculatorApp', []).controller('CalculatorController',
function($scope) {
$scope.var=0;
});
here is error/exception
use of undefined constant var - assumed 'var'