When sammyjs detects a barId in the query string the Barmodel will be executed and populated through its own meta object.

Is this a good design?

edit: Hmm, just noticed that above design is not always enough, the parent view model might need to do some processing when the subRoute triggers, so I added a object to the definition sent into MyApp.define like