 		(angularModulesByType[matches[1]] ?= []).push mapping.dest
 		
 		angularModules.push mapping.dest
-	
+		
 	angularModuleConcat = for directory in directories
-		src: "app/js/#{directory}/*.js"
+		src: "app/js/#{directory}/**/*.js"
 		dest: "app/js/#{directory}.js"
-	
+		
 	config.clean ?= {}
 	config.concat ?= {}
 	config.coffee ?= {}

		rename: (destBase, destPath) ->
			destPath = destPath.replace 'app/coffee/', ''
			destBase + destPath.replace /\.coffee$/, '.js'
	angularEmptyMock =
		src: 'app/coffee/empty-mocks.coffee'
		dest: 'app/js/empty-mocks.js'

		'wrap:angularModules'
		'concat:angularModules'
		'wrap:angularParentModules'
		'clean:angularBuild'
	]
	
