Bhuvanesh Mohankumar
what is string interpolation in Angular.js ?
By Bhuvanesh Mohankumar in Angular on May 05 2016
  • Bhuvanesh Mohankumar
    May, 2016 5

    Compiler during the compilation process matches text and attributes using interpolate service to see if they contains embedded expressions. As part of normal digest cycle these expressions are updated and registered as watches.

    • 1
  • sushil kumar
    Aug, 2017 30

    $interpolate : This service is used to evaluate angular expressions. You can run an entire string against a scope, and interpolate will give the result. e.g would bevar string = 'My Name is {{name}}'; $scope.name = 'Manish'; $interpolate(string)($scope); //this will result in My Name is Manish

    • 0


Most Popular Job Functions


MOST LIKED QUESTIONS