tellform/public/modules/forms/directives/analytics-service.client.directive.js

30 lines
450 B
JavaScript
Raw Normal View History

2016-06-07 00:37:09 +00:00
(function () {
'use strict';
//Dummy Service for Previewing Form
function SendVisitorData() {
2016-06-07 00:37:09 +00:00
// Create a controller method for sending visitor data
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 00:37:09 +00:00
init();
return service;
}
// Create the SendVisitorData service
angular
.module('forms')
.factory('SendVisitorData', SendVisitorData);
SendVisitorData.$inject = [];
2016-06-07 00:37:09 +00:00
}());