Skip to content

Instantly share code, notes, and snippets.

@frodosghost frodosghost/app.js
Created Feb 19, 2016

Embed
What would you like to do?
AngularJS and Twig Templates
var antelopeApp = angular.module('antelopeApp', [
'ngRoute',
'antelopeControllers'
]).config(function($interpolateProvider){
$interpolateProvider.startSymbol('{[{').endSymbol('}]}');
});
<ul ng-repeat="post in posts">
<li>{[{ post.title }]}</li>
</ul>
<ul ng-repeat="post in posts">
<li>{{ '{{ post.title }}' }}</li>
</ul>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.