text: 'use strict';
  
  angular.module('ui.dashboard')
    .controller('SaveChangesModalCtrl', ['$scope', '$uibModalInstance', 'layout', function ($scope, $uibModalInstance, layout) {
      
      // add layout to scope
      $scope.layout = layout;
  
      $scope.ok = function () {
        $uibModalInstance.close();
      };
  
      $scope.cancel = function () {
        $uibModalInstance.dismiss();
      };
    }]);