Corrected indentation for directives.js and added unit tests for menu/nav directives.