inline svg component for angular
npm install angular-inline-svg* Include svg sprites one time at the top of the document.
* Use inline svg symbol using .
* It is also possible to use angular binding, translations, directives, etc. in the svg sprite!
$ bower install angular-inline-svg --save
`
Add the module to your application:
`javascript
var myAppModule = angular.module('MyApp', ['inline-svg']);
`Create a symbol sprite (e.g.
mySvgSymbols.html) that looks like:
`html
`Include the directive in your html:
`html
``When issuing a pull request, please exclude changes from the "dist" folder to avoid merge conflicts.