Creates a directive modal with a loading animation that can be toggled using it's angular service.