mirror of
https://github.com/overleaf/overleaf.git
synced 2024-12-19 11:04:12 -05: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
|
||
|
)
|
||
|
]
|