Hacker News new | ask | show | jobs
by redact207 4261 days ago
I organise things the way you mentioned and was thinking this too. My app's starting to grow now and I think bundling tests, templates and the implementation in a single folder makes sense.

Normally if I'm working on eg a directive I jump across all of it's files, so having them in a single folder makes it much easier.

From a grunt/karma POV, it should be easy to flag specs as: \*.spec.js