Safely declare directive dependencies for on-demand minification