<article ng-controller="categoryCtrlr" ng-init="getCat()">
    <section ng-if="!errors.exists.show" class="item border">
        <h3>{{category.catName}}</h3>
        <p><em>{{category.catDescr}}</em></p>
        <table>
            <tr>
                <th>{{titles.topic}}</th>
                <th>{{titles.date}}</th>
            </tr>
            <tr ng-repeat="topic in category.topics">
                <td><span class="link" ng-click="setTopic(topic.topicNo)">{{topic.topicSubject}}</span></td>
                <td>{{topic.topicDate}}</td>
            </tr>
            <tr ng-if="errors.empty.show">
                <td colspan="2">{{errors.empty.text}}</td>
            </tr>
        </table>
    </section>
    <section ng-if="errors.exists.show" class="item border">
        <p>{{errors.exists.text1}} <span class="link" ng-click="setForum()">{{errors.exists.link1}}</span></p>
    </section>
</article>