y'" ng-repeat="content in contents['def-list']">
                <hr ng-if="!$first"/>
                <glossary def-list="content"></glossary>
            </div>
            <!-- end of glossary -->


            <!-- bibliography -->
            <div ng-if="header === 'ref-list' && typeOf(contents) !== 'Array'">
                <bibliography ref-list="contents"></bibliography>
            </div>
            <div ng-if="header === 'ref-list' && typeOf(contents) === 'Array'" ng-repeat="content in contents">