Advertisement
Guest User

Untitled

a guest
May 5th, 2016
60
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.43 KB | None | 0 0
  1. 'use strict';
  2.  
  3. var invoiceFormApp = angular.module('itspInvoiceFormApp',
  4. [
  5. 'ngRoute', 'invoiceControllersModule'
  6. ]);
  7.  
  8. var appStart = function($routeProvider) {
  9.  
  10. $routeProvider.when('/invoices', {
  11. templateUrl:'/app/views/list-invoices.html',
  12. controller: 'listInvoicesController'
  13. }).otherwise({
  14. redirectTo: '/invoices'
  15. });
  16.  
  17.  
  18. };
  19.  
  20.  
  21. invoiceFormApp.config(['$routeProvider', appStart]);
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement