Do you ever get depressed at how few unicorns there are in your AngularJS app? I certainly do. But worry no more, dear friend. With this directive, adding a unicorn to your app has never been easier.
unicorn.js
.unicorn-directive
as a dependency to your app.<unicorn>
s.^ This is a unicorn
<div ng-app="unicorn-directive">
<unicorn></unicorn>
<p>^ This is a unicorn</p>
</div>
Installable via bower
:
bower install angular-unicorn-directive
Unicorn based on "Invisible Pink Unicorn SVG" and used under CCA 2.5
Canvas draw
function automagically generated from canvg.
MIT