Compile the parameters modal instead of simple binding.

This allows us to use angular directives inside the parameters template. In this case we're going to
use ng-click="closeModal()" on the cancel button.