Remove isolated scope from agGridXlsExport directive and explicitely eval the expression. Asking for isolated scope conflicts with other directives which needs isolated scope.