This project was generated with Angular CLI version 1.0.0.
Run ng serve
for a dev server. Navigate to http://localhost:4200/
. The app will automatically reload if you change any of the source files.
This application demonstrates how to develop custom form-controls or custom components in Angular 2.
Application covers 2 simple use cases:
- Simple UI components with 1 input field
- Complex UI component with multiple inputs fields
In addition to its primary objectives, this application also showcase an Address components that gives insight to following points:
- How to extends from a base class that implements ControlValueAccessor and make component class leaner
- Validation of custom controls
- TypeAhead or auto-complete feature with NGX-bootstrap/typeahead