Skip to content

Commit

Permalink
chore(typeahead): update demo to use ngBindHtml
Browse files Browse the repository at this point in the history
  • Loading branch information
Foxandxss authored and jasonaden committed Sep 30, 2015
1 parent 5f689d0 commit 49694b8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/typeahead/docs/demo.html
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<script type="text/ng-template" id="customTemplate.html">
<a>
<img ng-src="http://upload.wikimedia.org/wikipedia/commons/thumb/{{match.model.flag}}" width="16">
<span bind-html-unsafe="match.label | typeaheadHighlight:query"></span>
<span ng-bind-html="match.label | typeaheadHighlight:query"></span>
</a>
</script>
<div class='container-fluid' ng-controller="TypeaheadCtrl">
Expand Down

0 comments on commit 49694b8

Please sign in to comment.