'use strict';

angular.module('angularDemoFormbuilderApp').

controller('AsideCtrl', function(
    Form
){
    this.Form = Form;

    this.navs = [{
        text: 'Add Component',
        state: 'root'
    }, {
        text: 'Edit Component',
        state: 'field-settings'
    }, {
        text: 'Edit Form',
        state: 'form-settings'
    }];

    this.inputTypes = [
        'number',
        'text'
    ];

    this.addToForm = function(options) {
        /*
        // options {
        //     element
        //     type
        // }
        */

        Form.maxComponent > Form.components.length && Form.components.push(options);
    };
}).

controller('MainCtrl', function(
    Form
){
    this.Form = Form;
});

@@ -505,16 +505,37 @@
 element%0A
+        //     label%0A
         

Fix function signature annotation