forked from Coded/SIPRP
				
			
			You can not select more than 25 topics
			Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
		
		
		
		
		
			
		
			
				
					
					
						
							15 lines
						
					
					
						
							388 B
						
					
					
				
			
		
		
	
	
							15 lines
						
					
					
						
							388 B
						
					
					
				|  evoapp.factory('utils', function($rootScope) {
 | |
|      
 | |
|     var me = this;
 | |
| 
 | |
|     //javascript usage example: globals.utils.passArguments;
 | |
|     var passArguments = function(fn, args) {
 | |
|         var fnArgs = [].concat(args);
 | |
|         fnArgs.push.apply(fnArgs, arguments);
 | |
|         return fn.apply(this, fnArgs);
 | |
|     };
 | |
| 
 | |
|     return {
 | |
|         passArguments: passArguments
 | |
|     };
 | |
| }); |