Break up Angular controller into multiple directives

* Create Angular directives
* Set up Konacha for testing JavaScript