Interviews3 answers
What is the use of Interpolation markup?
3 Answers
Compiles a string with markup into an interpolation function. This service is used by the XML compile service for data binding.
Posted Oct 7, 2017, 4:11 AM EDT
Compiles a string with markup into an interpolation function. This service is used by the HTML compile service for data binding.
Gracy LaylaPosted Sep 15, 2017, 12:59 AM EDT
$interpolateProvider can be used for configuring the interpolation markup. Defaults to {{ and }} in AngularJS.
app.config(function($interpolateProvider) {
$interpolateProvider.startSymbol('[[');
$interpolateProvider.endSymbol(']]');
});
This helps in working with Template engines like 'Swig' which uses the '{{' '}}' the double curly braces to display variables in your templates.
Santosh Kumar AdidawarpuPosted Feb 10, 2017, 9:52 PM EST

