// Create custom directive
myApp.directive('searchResult',function(){
return {
restrict: 'A',
template: '<a href="#" class="list-group-item"><h4 class="list-group-item-heading">Tarou</h4><p class="list-group-item-text">He lives in ..</p></a>',
replace: true
};
});
/************************
<HTML-cusutom-code>
<search-result></search-result>
************************/