Adjusted path for js files in the template.html due to changed routes for bower components.
Restructured client side to take advantage of angularjs modules.