This describes a provider/service for wrapping the AngularStrap $modal
service. It allows for somewhat easier programatic usage.
First, you define a modal using the provider. Modals are named, and have default configuration for the underlying $modal
service:
angular.module('app', ['app.modals']).config (modalsProvider) ->