This is an example app using ArcGIS API for JavaScript v3 in an Angular 2 app. The purpose is to explore ways that Angular 2 components and services can communicate with a map, legend, search, etc.
The repository is built on an outdated version of Angular, and I'm not sure if the patterns it demonstrates for communicating between components, services, and ArcGIS maps and data are in line w/ current best practices. I'm no longer actively maintaining this repository (i.e. not adding new features, nor keeping it up to date with new releases of Angular nor the ArcGIS API for JavaScript).
For a more up to date way to use the ArcGIS API for JavaScript in an Angular application, I recommend using https://github.com/Esri/esri-loader/.
After downloading, run the following at the command line to run the app:
npm install
npm start
While writing this app, I found the following resources very helpful, though at this point they may be a bit out of date:
Built with: