WIP migrating to AngularJS and Jade