Namespace: invenioSearchCount

invenioSearchCount

The invenio search results count
Source:

Example

Usage:
   <invenio-search-count
    template='TEMPLATE_PATH'>
       ... Any children directives
   </invenio-search-count>

Methods

(static) templateUrl(element, attrs)

Choose template for search count
Parameters:
Name Type Description
element service Element that this direcive is assigned to.
attrs service Attribute of this element.
Source:
Example
Minimal template `template.html` usage
       <div ng-show='vm.invenioSearchResults.length > 0'>
         {{ vm.invenioSearchResults.length }} records.
       </div>