The original question is quite old, but for anyone facing similar issues: I created a library facing this issue: https://github.com/wlucha/ng-country-select
It avoids resource path issues by using emoji flags and offers features like multilingual search, default country selection, and Angular Material styling.
It’s easy to integrate and works with modern Angular versions.