May I ask what angular script you are referring to? Starting from the 2018 version, the PI Integrator has been able to sign up for updates for asset and streaming views through the PI Integrator Sync service. However, it is currently not possible to sign up for event frames, and there is no supported feature other than to manually click on the update data button to do a backfill.
We have an enhancement request on Uservoice that captures your desired functionality: Sign up for updates on the PI AF Server for new event frames. I would suggest upvote that request and leave your usecase in the comments, that way this request can be better prioritized.
I am really looking for a command line interface for PI Integrator, so I can schedule tasks on my own. Much like how I can use "AnalysisService.QueueCalculation" from the PI SDK to backfill calculations on-demand. So it would look something like this:
$refToMyAssembly = [reflection.assembly]::loadwithpartialname("OSIsoft.AFSDK")
$PISystem = New-Object OSIsoft.AF.PISystems
#Update My Asset View table
$PISystem.IntegratorService.UpdateData("TableID","Start Date", "End Date");
Potentially this should be possible one would say. If the webpage can submit a request, then you could do also. I would dig into the integrator page and find out how the update data calls functions on the integrator framework service.