Created
July 24, 2013 16:00
-
-
Save EmmanuelDemey/6071936 to your computer and use it in GitHub Desktop.
How to change, in Angular, the Interpolation symbols {{ }}
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| var myApp = angular.module('App', [], function($interpolateProvider) { | |
| $interpolateProvider.startSymbol('//'); | |
| $interpolateProvider.endSymbol('//'); | |
| }); | |
| function Controller($scope) { | |
| $scope.label = "Interpolation Provider Sample"; | |
| } |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <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