       stencilsOpen: true
       propertiesOpen: false
     }
+
+    $scope.fileName = "ExampleFileName"
 
     $scope.selectedStencil = false
 

        }
        diagrams.push(diagram)
        console.log('model', model)
        modelStr = JSON.stringify(model, undefined, 4)
        downloadData("model.sponge", modelStr, "application/json")

    jsPlumb.ready ->
      $scope.instance = instance = jsPlumb.getInstance(


    # Save the Model
    $scope.saveModel = ->

        fileName = prompt("Please enter file name", $scope.fileName)

        if not fileName?
            return
        $scope.fileName = fileName

        $stencils = $('.stencil', $scope.container)
        stencils = $.map($stencils, (el) ->
                $stencil = $(el)
