Fixes bug in angular view generator where the routesJS file was being created in the views instead of the config directory