Sha256: dc3cb9a930df6f1c69dc14a5d2d4beb899ccdebfe493f5c2801ead4377f792ac

Contents?: true

Size: 282 Bytes

Versions: 1

Compression:

Stored size: 282 Bytes

Contents

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

class MainController
  constructor: (@$scope, @$http) ->
    @$http.get("/api/version.json").success (data) =>
      @$scope.appVersion = data.version

MainController.$inject = ["$scope", "$http"]

module.controller "main", MainController

Version data entries

1 entries across 1 versions & 1 rubygems

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