app.controller("versaoController", function ($scope, $http, versaoFactory) {

    $scope.versao = {};



    $scope.getVersao = function () {
        var getSuccessCallback = function (data, status) {

            $scope.versao = data;

        };


        var errorCallback = function (data, status, headers, config) {
            
        };

        versaoFactory.getVersao().success(getSuccessCallback).error(errorCallback);
    };

 
});

