Skip to content

Commit

Permalink
WA代码:整理模版目录结构
Browse files Browse the repository at this point in the history
  • Loading branch information
amio committed Mar 12, 2014
1 parent c59212a commit e6fed16
Show file tree
Hide file tree
Showing 6 changed files with 5 additions and 5 deletions.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
10 changes: 5 additions & 5 deletions app/scripts/app.js
Original file line number Diff line number Diff line change
Expand Up @@ -19,22 +19,22 @@ angular.module('toHELL', [

$routeProvider
.when('/', {
templateUrl: 'templates/login.html',
templateUrl: 'partials/pg-login.html',
controller: 'LoginCTRL'
})
.when('/about/', {
templateUrl: 'templates/about.html'
templateUrl: 'partials/pg-about.html'
})
.when('/register/', {
templateUrl: 'templates/register.html',
templateUrl: 'partials/pg-register.html',
controller: 'RegisterCTRL'
})
.when('/list/', {
templateUrl: 'templates/package-list.html',
templateUrl: 'partials/pg-pkglist.html',
controller: 'PackageListCTRL'
})
.when('/package/:pkgId', {
templateUrl: 'templates/package-edit.html',
templateUrl: 'partials/pg-pkgedit.html',
controller: 'PackageEditCTRL'
})
.otherwise({
Expand Down

0 comments on commit e6fed16

Please sign in to comment.