angular-ui/bootstrap — pull request #1462 by uditalias (2013-12-25 11:07:08+00:00)
Title: fix modal to enable auto horizontal centering

When using the modal the `width` is hard coded to `560px` and `margin-left` is hard coded to `-280px`
With this fix developers doesn't have to override the CSS and calculate the margin-left manually for each modal in their app - only set a width to the main element in the templateUrl and the modal will be horizontally centered.