Skip to content

Instantly share code, notes, and snippets.

@EmmanuelDemey
Created July 24, 2013 16:00
Show Gist options
  • Select an option

  • Save EmmanuelDemey/6071936 to your computer and use it in GitHub Desktop.

Select an option

Save EmmanuelDemey/6071936 to your computer and use it in GitHub Desktop.
How to change, in Angular, the Interpolation symbols {{ }}
var myApp = angular.module('App', [], function($interpolateProvider) {
$interpolateProvider.startSymbol('//');
$interpolateProvider.endSymbol('//');
});
function Controller($scope) {
$scope.label = "Interpolation Provider Sample";
}
<div ng-app="App" ng-controller="Controller">
//label//
</div>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment