'use strict';

//Setting up route
angular.module('categories').config(['$stateProvider',
	function($stateProvider) {
		// Categories state routing
		$stateProvider.
		state('create-category', {
			url: '/categories/create',
			templateUrl: 'modules/categories/views/create-category.client.view.html'
		}).
		state('categories', {
			url: '/categories',
			templateUrl: 'modules/categories/views/categories.client.view.html'
		});
	}
]);

@@ -158,16 +158,32 @@
 ovider.%0A
+      // CREATE%0A
 %09%09state(
@@ -185,26 +185,25 @@
 tate('create
--c
+C
 ategory', %7B%0A
@@ -314,16 +314,41 @@
 '%0A%09%09%7D).%0A
+      // READ Categories%0A
 %09%09state(
@@ -348,17 +348,21 @@
 %09state('
-c
+listC
 ategorie
@@ -465,17 +465,397 @@
 ml'%0A%09%09%7D)
-;
+.%0A      // READ Single Category%0A      state('viewCategory', %7B%0A        url: '/categories/:categoryId',%0A        templateUrl: 'modules/categories/views/view-category.client.view.html'%0A    %7D).%0A      // EDIT Single Category%0A      state('editCategory', %7B%0A        url: '/categories/:categoryId/edit',%0A        templateUrl: 'modules/categories/views/edit-category.client.view.html'%0A    %7D);%0A
 %0A%09%7D%0A%5D);%0A

Create routes for Categories edit, delete, update.