Move directives.js -> navigation-top.js and controller.js -> modal.js.