Angularjs 前角字体-页脚

Angularjs 前角字体-页脚,angularjs,typeahead.js,angular-ui-typeahead,Angularjs,Typeahead.js,Angular Ui Typeahead,我使用的是有角度的Typeahead,需要有一个返回结果的页脚,链接到完整的高级搜索。我知道我可以使用jquery来完成,但我希望保持这个角度 <input type="text" ng-model="spotlightModel" autofocus="autofocus" placeholder="Search" typeahead="searchResult.Description as searchResult for searchResult in getResults(

我使用的是有角度的Typeahead,需要有一个返回结果的页脚,链接到完整的高级搜索。我知道我可以使用jquery来完成,但我希望保持这个角度

    <input type="text" ng-model="spotlightModel" autofocus="autofocus" placeholder="Search" typeahead="searchResult.Description as searchResult for searchResult in getResults($viewValue)"
           ypeahead-wait-ms="750" typeahead-template-url="app/views/common/directives/SpotlightSearchResult.html"
           typeahead-on-select="onSelect($item)" class="form-control typeahead-input">


有什么建议吗?

我也有同样的问题。通过谷歌搜索,我发现可以覆盖typeahead-popup.html的引导模板

这是最初的答案

基本上,在ui引导js之后,将此代码放入js文件中,与应用程序一起加载。然后用实际的页脚html替换下面的页脚

 angular.module("template/typeahead/typeahead-popup.html", []).run(["$templateCache", function($templateCache) {
        $templateCache.put("template/typeahead/typeahead-popup.html",
            "<ul class=\"dropdown-menu\" ng-show=\"isOpen() && !moveInProgress\" ng-style=\"{top: position().top+'px', left: position().left+'px'}\" style=\"display: block;\" role=\"listbox\" aria-hidden=\"{{!isOpen()}}\">\n" +
            "    <li ng-repeat=\"match in matches track by $index\" ng-class=\"{active: isActive($index) }\" ng-mouseenter=\"selectActive($index)\" ng-click=\"selectMatch($index)\" role=\"option\" id=\"{{::match.id}}\">\n" +
            "        <div typeahead-match index=\"$index\" match=\"match\" query=\"query\" template-url=\"templateUrl\"></div>\n" +
            "    </li>\n" +
                "FOOTER" +
            "</ul>\n" +
            "");
    }]);
angular.module(“template/typeahead/typeahead popup.html”,[])。运行([“$templateCache”),函数($templateCache){
$templateCache.put(“template/typeahead/typeahead popup.html”,
“\n”+
"");
}]);
这是一个有点脏,似乎是一个很好的未来功能,但它现在的工作