Rewritten in Angular.js
Merge pull request #1 from sWW26/master

Please sir can you pull my changes.