Bettas, in the wild, eat insect larvae... basically blood worms. They're carnivores and won't eat plants unless driven by starvation. They also eat shrimp.
In your aquarium, however, I suggest betta pellets. I find that flakes are messy and not as good as pellets... just IMO though :)