Angels With Dirty Faces (1938) directed by Michael Curtiz for Warner Brothers, and starring James Cagney, Pat O'Brien, The Dead End Kids, Humphrey Bogart, Ann Sheridan, and George Bancroft, makes at a stab at futurity and morality, the twin pins that the production is based on.
This is flat out morality with as much gangsterism as could be squeezed on to the screen, while Catholicism beckons from the sidelines, filtered through the rough-housing rough antics of a real juvenile delinquent squad of tearaways, who wreck the movie, much as the real life juvenile actors behaved true to type and wrecked the studio.
This is an irony because film noir was brought about itself by the imposition of a moral code on cinema production, and film noir became an artistic way to discuss this code and frame its requirements in the most interesting ways possible.