Implementation using Angular JS

Implemented the same functionality using the Angular JS. Before it was
just using JQuery.