mirror of
https://github.com/overleaf/overleaf.git
synced 2024-12-27 14:24:12 +00:00
12 lines
278 B
CoffeeScript
12 lines
278 B
CoffeeScript
|
define [
|
||
|
"base"
|
||
|
], (App) ->
|
||
|
App.controller "ShareController", ["$scope", "$modal", ($scope, $modal) ->
|
||
|
$scope.openShareProjectModal = () ->
|
||
|
$modal.open(
|
||
|
templateUrl: "shareProjectModalTemplate"
|
||
|
controller: "ShareProjectModalController"
|
||
|
scope: $scope
|
||
|
)
|
||
|
]
|