app/assets/javascripts/sprangular/controllers/footer.coffee in sprangular-0.0.1 vs app/assets/javascripts/sprangular/controllers/footer.coffee in sprangular-0.1.0
- old
+ new
@@ -1,7 +1,15 @@
-Sprangular.controller "FooterCtrl", ($scope, $location, Account, Catalog, Status) ->
+Sprangular.controller "FooterCtrl", (
+ $scope,
+ $location,
+ Account,
+ Catalog,
+ Status,
+ Env
+) ->
$scope.catalog = Catalog
$scope.account = Account
+ $scope.supportedLocales = Env.config.supported_locales
$scope.goToMyAccount = ->
$location.path '/account'