22 lines
618 B
Plaintext
22 lines
618 B
Plaintext
|
scotchApp.service('commonService', function($rootScope) {
|
||
|
var sharedService = {};
|
||
|
sharedService.dv = '';
|
||
|
sharedService.urlPath = "";
|
||
|
|
||
|
sharedService.setUrlPath = function(urlPath){
|
||
|
//this.jobStepList = [];
|
||
|
this.urlPath = urlPath;
|
||
|
// alert("urlPath >> "+this.urlPath);
|
||
|
// $rootScope.$broadcast("hdlBroadcastReceivedDate",new Date().getTime());
|
||
|
};
|
||
|
|
||
|
sharedService.setDv = function(dv){
|
||
|
this.dv=dv;
|
||
|
//for(var i=0;i<lstData.length;i++){
|
||
|
// this.mstMsgList[lstData[i].key] = lstData[i].value;
|
||
|
//}
|
||
|
};
|
||
|
|
||
|
return sharedService;
|
||
|
|
||
|
});
|