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