def extract_angular(fileobj, keywords, comment_tags, options):
 parser = AngularGettextHTMLParser()
 for line in fileobj:
  parser.feed(line)
 for string in parser.strings:
  (yield string)

def extract_angular ( fileobj , keywords , comment_tags , options ) : parser = AngularGettextHTMLParser ( ) for line in fileobj : parser . feed ( line ) for string in parser . strings : ( yield string )
extract messages from angular template files that use the angular-gettext translate directive as per URL .