Transplant front-end to angularJS

Huge pull request, most file is dependency.