var ThingsController = (function () {
    function ThingsController($scope, thingsService, $stateParams) {
        this.thingsService = thingsService;
        thingsService.load($scope.flow, $scope.things, $scope.model, $stateParams.state);
        $scope.current = thingsService.getCurrentThing();
    }
    ThingsController.prototype.next = function () {
        this.thingsService.next();
    };
    ThingsController.$inject = ['$scope', 'thingsService', '$stateParams'];
    return ThingsController;
}());
export default ThingsController;
//# sourceMappingURL=things.controller.js.map