When creating simple projects we directly specify models and controllers in the same file and then write. My app.js looks like this:
var Library = can.Model({});
var Control = can.Control({.....});
var control = new Control('#main');
and single html file for this
For complex applications i will have different folders for controllers, models and views. My first question is
1 How will the invocation will take place when I place the controllers in different folder and the Modules in different folders. Can some one help me with a template of a base file which will invoke all the controllers.
1.If I have a simple html file for a specific controller instead of an ejs will it work?
I know it might sound stupid to some extend but I am confused.
Regards,