Added angularjs
Refactored main js to use angularjs
Added TODOs