Angular 2 Api Example built with Angular CLI, RxJS and Webpack.
Thanks @Hipo for provided source data.
Flag Icons => A collection of all country flags in SVG — plus the CSS for easier integration
#Build process Clone or download the repo If you don't have Angular CLI installed:
npm installg angular-cli@latest
ng init
Input n for each file to not overwrite any file changes
ng serve
ng serve-prod
Will kick off a production build with uglifying and tree-shaking.
This will kick off the server at http://localhost:4200/. Any changes you do to the source files should automatically reload the app.
Click here to see a full list of what you can do with Angular CLI.
"No 'Access-Control-Allow-Origin' header is present on the requested resource." If you get this error, try to run the following line of code.
https://gist.github.com/tahaipek/e489ce16e7d8d0ec7316cf66cc42f47d