Questions tagged [angularjs-interpolate]

Compiles a string with markup into an interpolation function. This service is used by the HTML compile service for data binding. See interpolateProvider for configuring the interpolation markup.

Compiles a string with markup into an interpolation function. This service is used by the HTML compile service for data binding. See interpolateProvider for configuring the interpolation markup.

51 questions
0
votes
1 answer

Can I use an ng-repeat inside ng-repeat and mingle interpolates?

I've found a couple of other questions of people trying to put ng-repeat inside ng-repeat and that seems doable. But to accomplish what I need to do, I think I also need to put an interpolate from the first ng-repeat into the second ng-repeat. For…
Christine268
  • 722
  • 2
  • 13
  • 32
0
votes
2 answers

AngularJS : Why can't $interpolate render ng-style?

I have created a drop down input directive, where the user can pass in a template string to set what the list will actually render. In my example I am passing in
0
votes
1 answer

AngularJS : How to not render an attribute if value is undefined

I have a template used in a directive, looking like : The attribute st-sort should not be render (no attribute at all) when the col.sortField doesn't exists. I've…
jmcollin92
  • 2,896
  • 6
  • 27
  • 49
0
votes
0 answers

Interpolation error with multiple ng-repeat

I get an interpolation error but only sometimes. I refresh/load page a few hundred times without error or sometimes on first load it appears and shows up again after reloading/empyting cache etc. I cannot figure out what the source of the error is…
0
votes
1 answer

How can I output a script tag that is stored as a string in my scope to an AngularJS template?

I need to use an embedded script in my templates but dynamically insert a path to an image before the script runs. I've written a directive to build the image path as a scope variable, then use $interpolate to insert this into the