I just want to share to fellow Angular Developers my GSAP workflow. Might come in handy.
I use service for my GSAP engine and share it to any components who needs or wants it. Here's an example of simple fading animation. You can expand from these.
npm i gsap
gsap.service.ts:
import { Injectable } from '@angular/core';
import { gsap, Power2, Elastic } from 'gsap/all';
@Injectable({
providedIn: 'root'
})
e