Blame view

app/scripts/routes.js 693 Bytes
c87bc1f33   TRUONG   first commit: ini...
1
2
3
4
5
  define([], function(){
      'use strict';
      return {
          defaultRoutePaths: '/',
          routes: {
c87bc1f33   TRUONG   first commit: ini...
6
7
              /* add more routes */
              '/': {
19a541686   TRUONG   restruct + fix style
8
                  templateUrl: 'views/main.html',
c87bc1f33   TRUONG   first commit: ini...
9
                  dependencies: [
5cd6d0cbc   Truong LD   update change htm...
10
11
12
13
                      'scripts/controllers/main.js',
                      'scripts/controllers/tshirtdesign.js',
                      'scripts/services/illustration.js',
                      'scripts/services/tshirt.js'
c87bc1f33   TRUONG   first commit: ini...
14
                  ]
e872619e5   Dang YoungWorld   delete comment
15
16
17
18
19
20
              },
              '/:id' : {
                  templateUrl: 'views/about.html',
                  dependencies: [
                      'scripts/controllers/about.js',
                  ]
c87bc1f33   TRUONG   first commit: ini...
21
22
23
24
              }
          }
      };
  });