Break up Angular controller into directives

* Set up Konacha for JavaScript testing
Add bin/setup file for faster development setup

* Set up .env if .env does not exist.
* Rename `sample.env`. to `.sample.env` to be consistent with our other
  projects.