Hi (I’m completely new to Ember.)
I have a read-only model (A) that I need to live filter depending on the content of another model (B). Any item in A whose id is referenced in B needs to be filtered out.
My initial approach was to give ControllerA a computed property that filters the items, but how can I define the depency or observe model B’s changes?
Something along the lines of?
ControllerA { needs: [‘B’] filteredItems: fn() { return filtered; }.property(‘controllers.B.model’) }
Is something like that even possible or how would you go about it?