Hi @Rashi Shukla,
Per my research, there is no such function to use anglar app without spfx in SharePoint online modern experience. Here is the list of classic publishing site features that are not supported in modern sites. Please refer to the following document
As a workaround, you can refer to following steps to migrate your angular application by spfx
If the answer is helpful, please click "Accept Answer" and kindly upvote it. If you have extra questions about this answer, please click "Comment".
Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.