I\'m trying to use the factory design pattern in Angular, but I think I\'m doing something wrong, or at least wondering if there\'s a better way. I have a factory which retu