angular-ui/angular-ui — pull request #42 by ProLoser (2012-07-10 19:18:18+00:00)
Title: Rewrite uiDate to leverage uiConfig instead of depending on $scope.uiDate

Pinging @petebacondarwin and/or @dandoyon to review and merge this pull request.

I needed to pass some app-wide defaults to uiDate and noticed it wasn't leveraging our ui.config so I added support for it and removed the dependency on `$scope.uiDate`.

I think we need to completely avoid any assumptions about variables being on the $scope as it clutters people's apps and can cause conflicts. Instead everything should be passed as an expression, and the only thing that you can assume is the ui.config value since we namespace it under our own module and declare it in the module declarations.

I did not see any tests that specifically pertain to $scope.uiDate so I did not make any changes there.