tellform/public/modules/forms/services/current-form.client.service.js

18 lines
342 B
JavaScript
Raw Normal View History

2015-06-29 22:51:29 +00:00
'use strict';
//Forms service used for communicating with the forms REST endpoints
2015-08-19 22:29:01 +00:00
angular.module('forms').service('CurrentForm',
function(){
2015-06-29 22:51:29 +00:00
//Private variables
var _form = {};
//Public Methods
this.getForm = function() {
return _form;
};
this.setForm = function(form) {
_form = form;
};
}
2015-08-19 22:29:01 +00:00
);