Angular-cli can now compile your generated code into generic code.
A detailed guide to preparing angular 2 code for universal assembly can be found here.
As for SEO, angular 4 has a built-in Meta service that is imported from the platform-browser module. If you are looking for a meta service for angular 2, you can try ng2-meta to insert meta tags for SEO.
Great news for developers who have an angular-cli project!
source share