moved directive templates out of controller.js and into a jade template