I'm almost certain that movie was made after people from a parallel dimension where those gangs exist came to our dimension and told their story.
Somewhere there's a world with gangs every few blocks with their own colors and gear and they all war with each other amidst the goings on of a bustling later 20th century America.