2016-06-07 00:37:09 +00:00
|
|
|
(function () {
|
2017-06-23 17:54:28 +00:00
|
|
|
'use strict';
|
2017-07-28 21:47:09 +00:00
|
|
|
//Dummy Service for Previewing Form
|
2017-04-23 02:14:43 +00:00
|
|
|
function SendVisitorData() {
|
2016-06-07 00:37:09 +00:00
|
|
|
|
|
|
|
// Create a controller method for sending visitor data
|
2017-04-21 06:09:40 +00:00
|
|
|
function send(form, lastActiveIndex) {
|
2016-06-17 21:33:33 +00:00
|
|
|
|
2016-06-07 00:37:09 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
function init(){
|
|
|
|
}
|
|
|
|
|
|
|
|
var service = {
|
|
|
|
send: send
|
|
|
|
};
|
2016-06-07 02:53:47 +00:00
|
|
|
|
2016-06-07 00:37:09 +00:00
|
|
|
init();
|
|
|
|
return service;
|
|
|
|
|
|
|
|
}
|
2017-04-21 04:38:37 +00:00
|
|
|
// Create the SendVisitorData service
|
|
|
|
angular
|
|
|
|
.module('forms')
|
|
|
|
.factory('SendVisitorData', SendVisitorData);
|
|
|
|
|
2017-04-23 02:14:43 +00:00
|
|
|
SendVisitorData.$inject = [];
|
2016-06-07 00:37:09 +00:00
|
|
|
}());
|
|
|
|
|