(function () { global.dashModule .directive('cartReview', ['$', '$translate', 'shopCartService', cartReviewDirective]); function cartReviewDirective($, $translate, shopCartService) { return { restrict: 'A', templateUrl: 'shop/html/cartReview', scope: { countryNames: '<', cartPackages: '<', delivery: '<', billing: '<', details: '<' }, link: function (scope) { scope.sumPrice = shopCartService.sumPrice; } }; } })();