Refactoring with AngularJS

Use AngularJS for the frontend.

Add graphic to the dashboard.