Hello everyone, good night,
I wanted to know two things the first is when I should use the factory directive and the other is if for example inside a factory I can make an Ajax request and return the result of it in a method of my factory, someone would have a example of this?