Refactored code on AngularJS side.  Pulled out Services and Controllers and put them in their own files