incuna/angular-registration — pull request #11 by perry (2014-08-29 21:15:27+00:00)
Title: Split project into more modular parts

At the moment, to include the project, you need to include all the files

```

```

But you can't choose which parts to use in your project. If you only need a small part, you end up with lots of extra code and unwanted routes in your app.

e.g. Use case is the current project I am working on requires a password-reset, which I'd like to use from here to avoid duplication, but it shouldn't allow user registration and doesn't have user profiles.

How do we feel about making this project more modular, so that you can import the parts you need? Something like:

```

...
```

One JS file could contain all the relevant code (e.g. password reset controllers, directives, services etc.), or we could split it even further and have a folder per module with separate files for each as with the current system, but that will probably be a lot of unnecessary files.