Mindjet interview question

What is the difference between a angular factory and service?