I'm not sure I get it, but did you declare a property before adding properties to the chain?
App.Models.Products = {};
App.Models.Products.IndexView = Backbone.Model.extend();
Of course, you can declare it in several ways, for example, when creating an application.
App = {
Models : {
Products : {} // here
},
Views : {},
Collections : {},
Routers : {},
Views : {}
};
or as a literal containing a key, etc.
App.Models.Products = {
IndexView : Backbone.Model.extend();
}
, javascript , .