Setting up JS part of application, models now properly serialize to JSON through the service controller