routes.$inject = ['$stateProvider'];

export default function routes($stateProvider) {
  $stateProvider
    .state('jobs', {
      url: '/jobs',
      template: require('./jobs.html'),
      controller: 'JobsController',
      controllerAs: '$ctrl'
    })
    .state('jobs.product', {
      url: '^/products/{productId}/jobs',
      template: require('./jobs.html'),
      controller: 'JobsController',
      controllerAs: '$ctrl'
    });
}
