Posted By

CreativePunch on 01/11/14


Tagged

css php html programming webdev Coding laravel


Versions (?)

How to use AngularJS and Laravel Blade together.


 / Published in: JavaScript
 

URL: http://creative-punch.net/2014/01/use-angularjs-laravel-blade-together/

In this article I will show you how to use AngularJS and Laravel Blade together. People who have been using AngularJS for a while may know of this solution. However if you are just getting started or have never used Angular with a templating engine like Blade, read ahead!

  1. var customInterpolationApp = angular.module('customInterpolationApp', []);
  2.  
  3. customInterpolationApp.config(function($interpolateProvider) {
  4. $interpolateProvider.startSymbol('%%');
  5. $interpolateProvider.endSymbol('%%');
  6. });

Report this snippet  

You need to login to post a comment.