The invenio search results errors
- Source:
Example
Usage:
<invenio-search-error
template='TEMPLATE_PATH'>
... Any children directives
</invenio-search-error>
Methods
(static) link(scope, element, attrs, vm)
Force apply the attributes to the scope
Parameters:
Name | Type | Description |
---|---|---|
scope |
service | The scope of this element. |
element |
service | Element that this direcive is assigned to. |
attrs |
service | Attribute of this element. |
vm |
invenioSearchController | Invenio search controller. |
- Source:
(static) templateUrl(element, attrs)
Choose template for search error
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.invenioSearchError'>
{{ errorMessage }}
</div>