More examples of daia-ids:

code

<div class="daia-response" 
     daia-api="{{myAPI}}"
     daia-id="{{myID}}" 
     daia-loading="daiaLoading">
    <i ng-show="daiaLoading" class="glyphicon glyphicon-refresh">
</div>

result

ng-daia includes a filter, a template (template/daia-simple.html), and a directive to handle DAIA Simple format.

code

<div daia-api="{{myAPI}}" 
     daia-id="{{myID}}" 
     daia-filter="daiaSimple"></div>

result

<div daia-simple="daiaResponse"></div>
{{daiaResponse | daiaSimple | json}}
<div ng-repeat="doc in daiaResponse.document">
    <div ng-repeat="item in doc.item">
        {{item.label}}:
        <span daia-simple="item"></span>
    <div>
</div>
{{item.label}}

{{daiaResponse | json}}