Sha256: ff94fa46e2edc1a7d138732dfa7da10becd4f29a7b20e2c58c4dd18a151c0911

Contents?: true

Size: 305 Bytes

Versions: 1

Compression:

Stored size: 305 Bytes

Contents

module = angular.module("mb.controllers")

class AlertsController
  constructor: (@$scope, @alerts) ->
    @$scope.alertMessages = @alerts.messages

    @$scope.disposeAlert = (id) =>
      @alerts.dispose(id)

AlertsController.$inject = ["$scope", "alerts"]

module.controller "alerts", AlertsController

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
mongo_browser-0.2.0.rc2 app/assets/javascripts/app/controllers/alerts.js.coffee