How to inject module on click of button?

I have one directive like following

var directiveApp = angular.module("directiveApp", ['ngSanitize', 'ui.mask', 'ngCropper', 'ui.bootstrap', 'common.fabric', 'common.fabric.utilities', 'common.fabric.constants', 'ui.sortable', '']);

Also, this is an external directive js file and want to inject this on click of a button.

I have tried to include this js file through javascript but does not find a way to inject it in the controller. As I am injecting before including this file I am getting the js errors.

Source: AngularJS