An Angular component that renders a smiley face in SVG. The components percentage
parameter determines how happy or sad the face appears.
npm install && bower install
node app.js
Visit http://localhost:3001/
Include the module in app:
angular.module('YourAppModule', ['SmileySvg']);
Add to one of your templates:
<smiley percentage="50"></smiley>
Note: percentage
can range from -100
to +100