Refactored app.js to be easier to read and alter.
Refactored directives.js to comment out the code.