overleaf/services/web/public/coffee/ide/share/controllers/ShareController.coffee
2014-07-08 12:02:26 +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
)
]