updating directive calls to minification-ready format

To support minification, any dependency injected function needs to use "inline array annotation". Check out this page for more details: https://docs.angularjs.org/guide/di