define(['app','./directives/register-directive.js', '../directives/loading-directive.js'
], function(app) {

    "use strict";

    app.controller("RegisterController", ["$rootScope", "$location", "$scope", "$q", "$window", "IStorage", "underscore", "breadcrumbs",
        "schemaTypes", "$timeout", "$filter", "$routeParams", "$cookies", "bootbox", "realm", "IWorkflows",
        '$element', '$mdSidenav', '$mdUtil', '$mdMedia', 'toastr', '$compile', 'commonjs',
        function($rootScope, $location, $scope, $q, $window, storage, _, breadcrumbs,
            schemaTypes, $timeout, $filter, $routeParams, $cookies, bootbox, realm, workflows,
            $element, $mdSidenav, $mdUtil, $mdMedia, toastr, $compile, commonjs) {




        }
    ]);
});

define(['app','./directives/register-directive.js', '../directives/block-region-directive.js'
], function(app) {

    "use strict";

    app.controller("RegisterController", ["$rootScope", "$location", "$scope", "$q", "$window", "IStorage", "underscore", "breadcrumbs",
        "schemaTypes", "$timeout", "$filter", "$routeParams", "$cookies", "bootbox", "realm", "IWorkflows",
        '$element', '$mdSidenav', '$mdUtil', '$mdMedia', 'toastr', '$compile', 'commonjs',
        function($rootScope, $location, $scope, $q, $window, storage, _, breadcrumbs,
            schemaTypes, $timeout, $filter, $routeParams, $cookies, bootbox, realm, workflows,
            $element, $mdSidenav, $mdUtil, $mdMedia, toastr, $compile, commonjs) {




        }
    ]);
});

update file name