Using an angular photo capture directive.