fix project detail by enhancing the refactor to angular services - might not be complete