$interpolate, $controller, $document, $window, $locale, angular.version + plus some code cleanup