mirror of
https://github.com/overleaf/overleaf.git
synced 2024-11-30 22:44:25 -05:00
13 lines
375 B
CoffeeScript
13 lines
375 B
CoffeeScript
define [
|
|
"base"
|
|
], (App) ->
|
|
App.controller "ShareController", ["$scope", "$modal", "event_tracking", ($scope, $modal, event_tracking) ->
|
|
$scope.openShareProjectModal = () ->
|
|
event_tracking.sendCountlyOnce "ide-open-share-modal-once"
|
|
|
|
$modal.open(
|
|
templateUrl: "shareProjectModalTemplate"
|
|
controller: "ShareProjectModalController"
|
|
scope: $scope
|
|
)
|
|
]
|