I need to share some objects between controllers in Angularjs and I have made something that works, but it just feels a bit clumsy to me. I'm wondering if what I have is acceptable, or if there's a preferred way to do so.I need to share some objects between controller