reconstruct the UI use angular js.