2015-06-29 22:51:29 +00:00
|
|
|
'use strict';
|
|
|
|
|
|
|
|
angular.module('forms').service('FormFields', [
|
|
|
|
function() {
|
|
|
|
this.fields = [
|
|
|
|
{
|
|
|
|
name : 'textfield',
|
2015-07-03 23:47:14 +00:00
|
|
|
value : 'Short Text'
|
2015-06-29 22:51:29 +00:00
|
|
|
},
|
|
|
|
{
|
|
|
|
name : 'email',
|
|
|
|
value : 'E-mail'
|
|
|
|
},
|
|
|
|
{
|
|
|
|
name : 'radio',
|
|
|
|
value : 'Radio Buttons'
|
|
|
|
},
|
|
|
|
{
|
|
|
|
name : 'dropdown',
|
|
|
|
value : 'Dropdown List'
|
|
|
|
},
|
|
|
|
{
|
|
|
|
name : 'date',
|
|
|
|
value : 'Date'
|
|
|
|
},
|
|
|
|
{
|
|
|
|
name : 'textarea',
|
2015-07-03 23:47:14 +00:00
|
|
|
value : 'Long Text'
|
2015-06-29 22:51:29 +00:00
|
|
|
},
|
|
|
|
{
|
|
|
|
name : 'checkbox',
|
|
|
|
value : 'Checkbox'
|
|
|
|
},
|
|
|
|
];
|
|
|
|
}
|
|
|
|
|
|
|
|
]);
|