refactored to single-page application using angular routes + ng-include