angular.module('MainApp')
  .directive('uaf', () => { // uaf = Update after find
    return (scope, el, attrs) => {
      scope.$watch('tasks', (newVal) => {
        el[0].children[0].children[0].innerHTML = newVal[attrs.uaf];
      }, true);
    };
  });

angular.module('MainApp')
  .directive('uaf', () =>  // uaf = Update after find
    (scope, el, attrs) => {
      scope.$watch('tasks', (newVal) => {
        el[0].children[0].children[0].innerHTML = newVal[attrs.uaf];
      }, true);
    }
  );

Fix eslint errors - 6
Fix eslint errors - 6
