I have an AngularJS application(say x) which we were using as a directive in our other AngularJS applications before. Now we are using Angular 8 for our new applications and