(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')));
@@ -124,18 +124,8 @@
 ile'
-, '$scope'
 %5D;%0A%0A
@@ -184,16 +184,8 @@
 file
-, $scope
 ) %7B%0A
@@ -196,218 +196,49 @@
     
-console.log('FileEditController');%0A        var ctrl = this;%0A        ctrl.file = file;%0A%0A        $scope.$on('$viewContentLoaded', function(event) %7B%0A            console.log('$viewContentLoaded', event);%0A        %7D)
+var ctrl = this;%0A        ctrl.file = file
 ;%0A  

Remove debug of ui router state changes.