When developing mobile web applications with responsive design, SVG are a viable solution for flexible images.
AngularJS in turn enables the wrapping of complex UI logic into custom HTML directives, resulting in clean and maintainable modules.
The combination of these technologies provides a good basis for interactive control and status elements. It is suitable both for building highly complex custom controls, as well as covering simple use cases in a generic manner.
Part 1 of this article explores several methods of employing SVG as flexible images in a cross-browser compatible manner.
Part 2 describes the use of AngularJS to construct custom control and status elements by manipulating SVG images.
Image may be NSFW.
Clik here to view.
Clik here to view.
