I will cover the basics as easily as I can in this short article.
TLDR: you can generate a website with static website generator tools such as gatsbyjs, host it for free on GitHub-pages or firebase with HTTPS, and CloudFlare non-www to www redirect. A Contact form can be easily setup without server-side code Formspree.
This article is written for Angular 2+. At the time of writing the latest version was Angular 4.
Update (June 2019): Still valid for Angular 8
It’s written for beginners — if you are an advanced or intermediate Angular developer you probably already know all these techniques.
Edit: Although, the title of this article is a bit misleading because we do not want to communicate between components directly. Our components should be isolated and encapsulated. I chose this title because I think developers struggling with this will be googling it this way.
How to communicate between components? This is the…