Example 1: Text updated on the fly in an SVG graphic via AngularJS.
Example 2: Swapping out the image within an SVG. Note that the image actually appears in the middle of multiple layers of drawing so it would take much more effort to achieve the same thing on the fly with other techniques.
Sun icon by an unknown author, from The Noun Project
Slides icon by Diego Naive, from The Noun Project