'use strict';

// Declare app level module which depends on views, and components
angular.module('myApp', [
  'ngRoute',
  'myApp.view1',
  'myApp.view2',
  'myApp.version'
]).
config(['$locationProvider', '$routeProvider', function($locationProvider, $routeProvider) {
  $locationProvider.hashPrefix('!');

  $routeProvider.otherwise({redirectTo: '/view1'});
}]);

@@ -1,8 +1,27 @@
+(function () %7B%0A    
 'use str
@@ -94,16 +94,20 @@
 ponents%0A
+    
 angular.
@@ -118,271 +118,1433 @@
 le('
-myApp', %5B%0A  'ngRoute',%0A  'myApp.view1',%0A  'myApp.view2',%0A  'myApp.version'%0A%5D).%0Aconfig(%5B'$locationProvider', '$routeProvider', function($locationProvider, $routeProvider) %7B%0A  $locationProvider.hashPrefix('!');%0A%0A  $routeProvider.otherwise(%7BredirectTo: '/view1'%7D)
+readingList', %5B%5D);%0A%0A    var genres = %5B'folklore', 'fantasy', 'fiction',%0A                  'non-fiction', 'thriller', 'romance',%0A                  'horror', 'humor', 'legend',%0A                  'mystery', 'mythology', 'poetry'%5D%0A    var books = %5B%0A        %7B%0A            title: 'The Last Wish: Introducing The Witcher',%0A            author: 'Andrzej Sapkowski',%0A            isbn: '0316029181',%0A            review: '%22Like a complicated magic spell, a Sapkowski novel is a hodgepodge of fantasy, intellectual discourse, and dry humor. Recommended.%22%E2%80%95Time',%0A            rating: 4,%0A            genres: %7B%0A                'fantasy': true,%0A                'fiction': true,%0A                'folklore': true%0A            %7D%0A        %7D,%0A        %7B%0A            title: 'Mageborn: The Blacksmith%5C's Son',%0A            author: 'Michael G. Manning',%0A            isbn: '1463684347',%0A            review: '%22You%5C've GOT to read this!%22%E2%80%95Mom',%0A            rating: 4,%0A            genres: %7B%0A                'fantasy': true,%0A                'fiction': true%0A            %7D%0A        %7D,%0A        %7B%0A            title: 'The Alchemyst: The Secretes of the Immortal Nicholas Flamel',%0A            author: 'Michael Scott',%0A            isbn: '0385736002',%0A            review: '%22Entertaining and engaging for all ages!%22%E2%80%95E. Walker',%0A            rating: 5,%0A            genres: %7B%0A                'fantasy': true,%0A                'fiction': true%0A            %7D%0A        %7D%0A    %5D
 ;%0A%7D
-%5D
 );%0A
+%0A%0A

edit app.js with genres and a few books to work with