getting object out of factory and sending to controllers'