Refactored code to leverage JavaScript patterns more to cleanup how controllers, services, directives, etc. are defined.