JustGoscha / allmighty-autocomplete

Simple to use autocomplete directive in a module for AngularJs!
MIT License
392 stars 232 forks source link

Ability to override directive template #133

Closed vitoravale closed 7 years ago

vitoravale commented 7 years ago

Allow template to be overridden so that custom markup and functionality can be used.

<script type="text/ng-template" id="/my-custom-template.html"> { custom markup here }</script>
<autocomplete
    (..)
    template-url="/my-custom-template.html"
    (..)>
</autocomplete>

or

<autocomplete
    (..)
    template-url="/path/to/my-custom-template.html"
    (..)>
</autocomplete>