Angular bug fixes

Made is so the app can run.