Various angular/compilation cleanup

- Correct controller base modules (needs to extend from app)
- Remove generated files (needs sdist sorted out)
- Move generated files into dist/
- Move some logic from dashboard into controller