title: How to make a config file which I can include in my backbone.js project
body: <p>I want to make a default config file according to which I will create my view. </p>
  
  <p>I am thinking of something like: </p>
  
  <pre><code>var Application = {};
  Application.Config = {
     ViewerModule : {
       width    : '60%',
       height   : '60%',
       maxWidth : '99%',
       minWidth : '1%',
       iconSize : '24*24',
       defaultColor   : 'Green',
       selectedColor  : 'Orange',
       fontColor      : 'Black',
       viewerToolColor: 'White',
       defaultView    : 'Fit To Screen',
       Labels:{
              btnZoomIn     :'Zoom In',
              btnZoomOut    :'Zoom Out',
              btnRotateLeft :'Rotate Left',
              btnRotateRight:'Rotate Right',
              btnFitToScreen:'Fit to Screen',
              btnFullScreen :'Full Screen',
              btnSaveAs     :'Zoom In',
              btnExport     :'Zoom Out',
              btnPopOut     :'Rotate Left',
              btnEmail      :'Rotate Right',
              btnPdfConverter:'Fit to Screen',
              btnSetting    :'Settings'           
       }
     }
  }
  </code></pre>
  
  <p>And so when I create my view in backbone, I can use this config value to define default values of my Backbone View.</p>
  
  <p>One thing I thought was save values from config file to a backbone model and create a view with that model.</p>
  
  <p>However, I am not sure if this is the right thing.</p>
  
  <p>Can share me your thoughts or examples on how I can achieve it.</p>