This is just a simple demo of how to create angular.js directives and share then on npm. In particular, this demo shows a typeahead directive.
The source code for this demo can be found here: typeahead.demo
This is a very basic demo of typeahead directive:
Selected address: {{addressModel | json}}
This demo shows how to render custom template:
Selected address: {{customAddressModel | json}}