Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Add a <unicorn></unicorn> to your app!
JavaScript
branch: master

v0.0.2

latest commit f998ec4876
@btford authored
Failed to load latest commit information.
README.md add homepage to readme
bower.json v0.0.2
index.html Allow options from attributes: scale, width, height, color
unicorn.js v0.0.2

README.md

Angular Unicorn Directive

Homepage

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.

Usage

  1. Include unicorn.js.
  2. Add unicorn-directive as a dependency to your app.
  3. Make <unicorn>s.

Bower

Installable via bower:

bower install angular-unicorn-directive

Example

See the homepage for an example.

<div ng-app="unicorn-directive">
  <unicorn></unicorn>
  <p>^ This is a unicorn</p>
</div>
</pre>

Credits

Unicorn based on "Invisible Pink Unicorn SVG" and used under CCA 2.5

Canvas draw function automagically generated from canvg.

License

MIT

Something went wrong with that request. Please try again.