jwvdiermen/grunt-include-source — pull request #15 by kodegenix (2014-04-18 19:45:36+00:00)
Title: Support for top-down file ordering, automatic indentation

I have added an option for top-down ordering of included files. This feature is useful for working with AngularJS, where one can create a module somewhere at the project directory structure, and then include into such module components separated into small *.js files, nested in subdirectories, without the need to create a new module in each component's file.

Simple illustration:

/project/feature/feature.js
```js
(function(){
// we create angular module 'project.feature'
var module = angular.module('project.feature', [ /* dependencies */ ]);
})();
```

/project/feature/controllers/SubfeatureCtrl.js
```js
(function(){
// we just extend existing module, since with proper

```

In addition I have fixed indentation for included files (issue #14).