14 lines
		
	
	
		
			262 B
		
	
	
	
		
			JavaScript
		
	
	
	
	
	
		
		
			
		
	
	
			14 lines
		
	
	
		
			262 B
		
	
	
	
		
			JavaScript
		
	
	
	
	
	
|  | (function(app) { | ||
|  | 
 | ||
|  |   function DataService() { | ||
|  |   } | ||
|  |   DataService.annotations = [ | ||
|  |     new ng.core.Injectable() | ||
|  |   ]; | ||
|  |   DataService.prototype.getHeroName = function() { | ||
|  |     return 'Windstorm'; | ||
|  |   }; | ||
|  |   app.DataService = DataService; | ||
|  | 
 | ||
|  | })(window.app = window.app || {}); |