Sunday, March 22, 2015

use angular js in Symfony2

just need add the code below and then will use __  __to instead of {{}}

angular.module('demo', [])
.config(['$interpolateProvider', function($interpolateProvider) {
$interpolateProvider.startSymbol('__');
$interpolateProvider.endSymbol('__');
}]);


add js, css, images on web/bundles/bundleName folder

php app/console assets:install --symlink