I've just finished my first own Angular project (applause), but when I try to deploy it, ng build throws a gazillion of errors. They are mostly about properties or values which do not exist, but it also has a problem with private variables.
I am sure there must be a switch to ignore these errors, but which one is it?
I assume these errors are coming from the AOT compiler. I believe you can turn off AOT using the aot flag. But then you won't get the benefits of the AOT compiler.