overleaf/services/web/public/coffee/app/ide/share/controllers/ShareController.coffee
2014-07-01 14:12:28 +01:00

11 lines
278 B
CoffeeScript

define [
"base"
], (App) ->
App.controller "ShareController", ["$scope", "$modal", ($scope, $modal) ->
$scope.openShareProjectModal = () ->
$modal.open(
templateUrl: "shareProjectModalTemplate"
controller: "ShareProjectModalController"
scope: $scope
)
]