Refactor angular app

* Refactor code for use angular style.
* Fix anchor.
* Add touch events.