(function (module) {
    module.controller("FileEditController", FileEditController);

    FileEditController.$inject = ['file', '$scope'];

    /* @ngInject */
    function FileEditController(file, $scope) {
        console.log('FileEditController');
        var ctrl = this;
        ctrl.file = file;

        $scope.$on('$viewContentLoaded', function(event) {
            console.log('$viewContentLoaded', event);
        });
    }
}(angular.module('materialscommons')));
(function (module) {
    module.controller("FileEditController", FileEditController);

    FileEditController.$inject = ['file'];

    /* @ngInject */
    function FileEditController(file) {
        var ctrl = this;
        ctrl.file = file;
    }
}(angular.module('materialscommons')));
Remove debug of ui router state changes.