title: I want to pass Main application view a model using backbone
body: <pre><code>define(['jquery',
      'underscore',
      'backbone',
      'app/js/components/models/Application'
  ], function($, _, Backbone , Application) {
  
  var applicationView = Backbone.View.extend({
  
          model : new Application(),
  
          'initialize': function() {
  
              console.log('initializing app view...')
  
              this.render();
          },
  
          render: function() {
  
          }
      });
      return applicationView;
  });
  </code></pre>
  
  <p>But it is showing me error as Uncaught TypeError: Application is not a function.</p>
  
  <p>Application.js</p>
  
  <pre><code>define(['jquery',
      'underscore',
      'backbone'
  ], function($, _, Backbone) {
  
      var Application = Backbone.Model.extend({
          defaults : {
              version : 0.1
          },
          initialize : function(){
  
          }
  
      });
  
  });
  </code></pre>