angular.module('myApp').config(['$routeProvider', function($routeProvider) {
    $routeProvider
        .when('/home', {
            templateUrl: 'partials/home/index.html'
        })
        .when('/cars/:id', {
            templateUrl: 'partials/cars/index.html',
            controller: 'singleCarCtrl'
        })
        .when('/stock', {
            templateUrl: 'partials/stock/index.html',
            controller: 'carCtrl'
        })
        .when('/admin', {
            templateUrl: 'partials/admin/index.html',
            controller: 'carCtrl'
        })
        .when('/admin/sold', {
            templateUrl: 'partials/admin/sold/index.html',
            controller: 'carCtrl'
        })
        .when('/admin/delete/deleted', {
            templateUrl: 'partials/admin/delete/deleted/index.html',
            controller: 'carCtrl'
        })
        .when('/admin/update/:id', {
            templateUrl: 'partials/admin/update/index.html',
            controller: 'singleCarCtrl'
        })
        .when('/admin/updated', {
            templateUrl: 'partials/admin/update/updated/index.html',
            controller: 'singleCarCtrl'
        })
        .when('/admin/add', {
            templateUrl: 'partials/admin/add/index.html',
            controller: 'carCtrl'
        })
        .when('/admin/added', {
            templateUrl: 'partials/admin/add/added/index.html',
            controller: 'carCtrl'
        })
        .when('/about', {
            templateUrl: 'partials/about/index.html'
        })
        .otherwise({redirectTo: '/home'});
}]);
@@ -169,32 +169,66 @@
 tml'%0A        %7D)%0A
+        /* Individual car page */%0A
         .when('/
@@ -232,32 +232,32 @@
 ('/cars/:id', %7B%0A
-
             temp
@@ -336,32 +336,61 @@
 trl'%0A        %7D)%0A
+        /* All stock page */%0A
         .when('/
@@ -490,32 +490,57 @@
 trl'%0A        %7D)%0A
+        /* Admin page */%0A
         .when('/
@@ -640,32 +640,62 @@
 trl'%0A        %7D)%0A
+        /* Sold Items page */%0A
         .when('/
@@ -805,32 +805,72 @@
 trl'%0A        %7D)%0A
+        /* Deleted Confirmation page */%0A
         .when('/
@@ -1000,32 +1000,69 @@
 trl'%0A        %7D)%0A
+        /* Individual Update page */%0A
         .when('/
@@ -1186,32 +1186,71 @@
 trl'%0A        %7D)%0A
+        /* Update confirmation page */%0A
         .when('/
@@ -1379,32 +1379,55 @@
 trl'%0A        %7D)%0A
+        /* Add Page */%0A
         .when('/
@@ -1535,32 +1535,68 @@
 trl'%0A        %7D)%0A
+        /* Add confirmation page */%0A
         .when('/
@@ -1802,32 +1802,101 @@
 tml'%0A        %7D)%0A
+        /* Any other page link provided in url, link back to home */%0A
         .otherwi
@@ -1926,8 +1926,9 @@
 %7D);%0A
-
 %7D%5D);
+%0A

Update routes.js