<article ng-controller="createCategoryCtrlr" ng-init="start()">
    <section ng-show="!(error.userLevel.show)" class="item border">
        <h3>{{titles.form}}</h3>
        <form id="categoryForm" name="categoryForm" ng-submit="createCategory()">
            <label for="catName">Name: </label> <br />
            <input type="text" name="catName" ng-model="category.catName" placeholder="A name for the category" required /> <br />
            <label for="catDescr">Description: </label> <br /> 
            <textarea name="catDescr" ng-model="category.catDescr" placeholder="A description for the category" required ></textarea> <br />
            <input type="submit" value="Add Category" ng-model="category.submit" />
        </form>
        <p class="status" ng-show="status.show">{{status.text}}</p>
    </section>
    <section ng-show="error.userLevel.show" class="item border">
        <p ng-show="error.userName.show">{{error.loggedIn.text1}} <span class="link" ng-click="setLogin()">{{error.loggedIn.link1}}</span> {{error.loggedIn.text2}}</p>
        <p ng-show="!(erro.userName.show)">{{error.userLevel.text1}}</p>
    </section>
</article>