Repository URL to install this package:
|
Version:
1.0.8 ▾
|
(function() {
'use strict';
angular.module('angularGobox').service('BoxRegistration', BoxRegistration);
BoxRegistration.$inject = ['BoxType'];
function BoxRegistration(BoxType) {
var service = this;
service.reset = reset;
// public
function reset() {
service.box_type = BoxType.standard;
service.box = undefined;
}
// private
function initialize() {
service.reset();
}
initialize();
}
})();