Execute
<!DOCTYPE html> <html> <head> <script src="https://ajax.googleapis.com/ajax/libs/angularjs/1.5.6/angular.min.js"></script> <title>Wikitechy AngularJS Tutorials</title> </head> <body> <h2>Interpolation in AngularJS Tutorials.</h2> <div ng-app="myApp" ng-controller="myCtrl"> <h4>-msg-</h4> </div> <script> var app= angular.module("myApp",[]); app.config(function($interpolateProvider) { $interpolateProvider.startSymbol('-'); $interpolateProvider.endSymbol('-'); }); app.controller("myCtrl",["$scope", function($scope){ $scope.msg= "Welcome To AngularJS Tutorials"; }]); </script> </body> </html>
www.wikitechy.com © Copyright 2016. All Rights Reserved.