title: How could I use Router in View module in modular Backbone.js app?
body: <p>I use RequireJS to organize my Backbone app and my Router module is as follows:</p>
  
  <pre><code>define([
  'jquery',
  'underscore',
  'backbone',
  'collections/todos',
  'views/todosview'
  ], function($, _, Backbone, TodosCollection, TodosView){
  var AppRouter = Backbone.Router.extend({
  
      routes: {
          "": "index",
          "category/:name": "hashcategory"  
      },
  
      initialize: function(options){
          // Do something
      },
  
      index: function(){
          // Do something
      },
  
      hashcategory: function(name){
          // Do something
      }
  });
  
  var start = function(){ 
      p = $.ajax({
          url: 'data/todolist.json',
          dataType: 'json',
          data: {},
          success: function(data) {
  
              var approuter = new AppRouter({data: data});
              Backbone.history.start();
          }
      });     
  };
  
  return {
      start: start
  };
  });
  </code></pre>
  
  <p>And I have another <code>app</code> module which uses <code>Router.start()</code> to trigger the whole app.
  Now, in my Backbone.View module, I want to use <code>Router.navigate</code> to trigger the route in this <code>Router</code> module.
  The starting part of my View module is as follows:</p>
  
  <pre><code>define([
  'jquery',
  'underscore',
  'backbone',
  'models/todo',
  'views/todoview',
  'text!templates/todo.html',
  'router'
  ], function($, _, Backbone, TodoModel, TodoView, todoTemplate, Router){...
  </code></pre>
  
  <p>But when I want to use <code>Router</code> in this module, it always says <code>Router is not defined</code>. What I want to do is to call <code>Router.navigate</code> when some action is fired in this View module. So how could I achieve this?</p>