<div ng-controller="ExampleFormController">
    <mct-toolbar structure="toolbar" ng-model="state" name="aToolbar">
    </mct-toolbar>

    <mct-form structure="form" ng-model="state" name="aForm">
    </mct-form>


    <ul>
        <li>Dirty: {{aForm.$dirty}}</li>
        <li>Valid: {{aForm.$valid}}</li>
    </ul>

    <pre>


    <textarea>
    {{state | json}}
    </textarea>

    </pre>
</div>