Skip to content

Instantly share code, notes, and snippets.

@robwormald
Created November 30, 2013 05:27
Show Gist options
  • Save robwormald/7715730 to your computer and use it in GitHub Desktop.
Save robwormald/7715730 to your computer and use it in GitHub Desktop.
var login = {
name: 'login',
url: '/login',
views: {
'workflow' : {
templateUrl : '/views/login.html',
controller: 'LoginCtrl'
}
}
}
var loading = {
name: 'loading',
url: '/loading',
views: {
'workflow' : {
templateUrl: '/views/loader.html',
controller: 'LoadingCtrl'
}
}
}
var timeclock = {
name: 'timeclock',
url: '/timeclock',
views: {
'header' : {
templateUrl: '/partials/header-navbar.html'
},
'workflow' : {
templateUrl : '/views/google_timeclock.html',
controller: 'ClockFlowController'
},
'workflow-nav' : {
templateUrl : '/partials/workflow-nav.html',
// controller: 'NavbarCtrl'
}
}
}
var timesheet = {
name: 'timesheet',
url: '/timesheet',
views: {
'workflow' : {
templateUrl : '/views/timesheet.html',
// controller: 'TimesheetCtrl'
},
// 'clock@timeclock' : {
// templateUrl: '/partials/timeclock.clock.html',
// controller: 'ClockCtrl'
// },
// 'activityList@timeclock' : {
// templateUrl: '/partials/timeclock.activity-list.html',
// controller : "ActivityListCtrl"
// },
'workflow-nav' : {
templateUrl : '/partials/workflow-nav.html',
controller: 'NavbarCtrl'
}
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment