I am upgrading my old AngularJS application to Angular using the NgUpgrade module. Upgrading components seems to work ok but I have struggled with getting a directive to work.