text: define([
    'app',
    // Load Controllers here
    'controllers/app',
    'controllers/dashboard',
    'controllers/results',
    'controllers/detail'
  ], function (app) {
    'use strict';
    // definition of routes
    app.config([
      '$stateProvider',
      '$urlRouterProvider',
      function ($stateProvider, $urlRouterProvider) {
        // url routes/states
        $urlRouterProvider.otherwise('dashboard');
  
        $stateProvider
          // app states
          .state('dashboard', {
            url: '/dashboard',
            templateUrl: 'app/templates/dashboard.html',
            controller: 'DashboardCtrl'
          })
          .state('results', {
            url: '/results/:search/:satTrans/:wheelChair/:wheelChairLift',
            controller: 'ResultsCtrl',
            templateUrl: 'app/templates/results.html'
          })
          .state('detail', {
            url: '/detail/:id',
            controller: 'DetailCtrl',
            templateUrl: 'app/templates/detail.html'
          });
      }
    ]);
  });
  