(function() {
    'use strict';
    
    angular
        .module('app')
        .directive('fileList', fileList);

    function fileList() {
        // Runs during compile
        return {
            restrict: 'EA', // E = Element, A = Attribute, C = Class, M = Comment
            templateUrl: 'files/FileList.html',
            controller: 'FileController',
            controllerAs: 'file',
        };
    }
})();
@@ -209,66 +209,11 @@
 t: '
-E
 A',
- // E = Element, A = Attribute, C = Class, M = Comment
 %0A   
@@ -355,8 +355,9 @@
  %7D%0A%7D)();
+%0A

Remove unnecessary restrict