angular-scriptloader
Script loader for Angular. Inject scripts and returns a promise. Won't inject the same script twice.
NPM
npm i angular-scriptloader
Setup
angular;
Service
Loading a script.
$scriptLoader ;
Loading scripts concurrently.
$qall$scriptLoader $scriptLoader ;