lmc-eu/ngx-library — pull request #9 by josefzamrzla (2012-11-02 12:51:40+00:00)
Title: Old "strict mode" replaced by configurable attributes

Added attributes:

allowed-types - allows you to accept allowed types of result only. Empty value = all types are allowed (backward compatibility).

required-types - allows you to define required list of types. Empty values = no types are required. This attribute replaces old "strict mode".

Example: allowed-types="firm,city,street,number" required-types="street,city"
Only "firm, city, street or number" types of result will be accepted and both street and city parts must be defined in chosen result.