 'use strict'
 
 remote = require "remote"
+BrowserWindow = remote.getCurrentWindow()
 
 ###*
  # @ngdoc function

            remote.getCurrentWindow().minimize()


        # Add events to current window
        window.onblur = (e) ->
            $scope.focused = false

         # @attribute system
        ###
        $scope.system =
            darwin: /^darwin/.test process.platform
            windows: /^win/.test process.platform
            linux: /^linux/.test process.platform


