(function () {
  'use strict';

  var app = angular.module('readingList', []);

  app.controller('ReadingListController', function () {
    this.books = books;
    this.genres = genres;
  });

  app.directive('appView', function () {
    return {
      restrict: 'E',
      templateUrl: '../partials/app-view.html'
    }
  });

  var genres = [ 'fable', 'fantasy', 'fiction', 'folklore', 'horror', 'humor', 'legend', 'metafiction', 'mystery', 'mythology', 'non-fiction', 'poetry' ];

  var books = [
    {
      title: 'A Game of Thrones: A Song of Ice and Fire',
      author: 'George R.R. Martin',
      isbn: '0553593714',
      review: 'The most inventive and entertaining fantasy saga of our time—warrants one hell of an introduction. I loved this book!',
      rating: 4,
      genres: { 'non-fiction': true, fantasy: true }
    },{
      title: 'HTML for Babies',
      author: 'John C Vanden-Heuvel Sr',
      isbn: '0615487661',
      review: "It's never too early to be standards compliant! I taught my little one mark-up in under one hour!",
      rating: 5,
      genres: { fiction: true }
    },{
      title: 'A is for Array',
      author: 'Brandon J Hansen',
      isbn: '1489522212',
      review: 'A is for Array is the ABC book for future programmers. Filled with fun illustrations and simple real-world examples, my children loved seeing my world intertwined with theirs!',
      rating: 4,
      genres: { fiction: true }
    },{
      title: 'The Dragon Reborn',
      author: 'Robert Jordan',
      isbn: '0812513711',
      review: 'The Wheel weaves as the Wheel wills, and we are only the thread of the Pattern. Moiraine',
      rating: 4,
      genres: { 'non-fiction': true, fantasy: true }
    }
  ];
})();

@@ -182,24 +182,112 @@
 res;%0A  %7D);%0A%0A
+  app.controller('ReviewFormController', function () %7B%0A    this.genres = genres;%0A  %7D);%0A%0A
   app.direct
@@ -425,16 +425,20 @@
 nres = %5B
+%0A   
  'fable'
@@ -438,16 +438,20 @@
 'fable',
+%0A   
  'fantas
@@ -453,16 +453,20 @@
 antasy',
+%0A   
  'fictio
@@ -468,16 +468,20 @@
 iction',
+%0A   
  'folklo
@@ -484,16 +484,20 @@
 lklore',
+%0A   
  'horror
@@ -498,16 +498,20 @@
 horror',
+%0A   
  'humor'
@@ -511,16 +511,20 @@
 'humor',
+%0A   
  'legend
@@ -525,16 +525,20 @@
 legend',
+%0A   
  'metafi
@@ -544,16 +544,20 @@
 iction',
+%0A   
  'myster
@@ -559,16 +559,20 @@
 ystery',
+%0A   
  'mythol
@@ -576,16 +576,20 @@
 hology',
+%0A   
  'non-fi
@@ -595,16 +595,20 @@
 iction',
+%0A   
  'poetry
@@ -608,16 +608,18 @@
 'poetry'
+%0A 
  %5D;%0A%0A  v

Add new Controller 'ReviewFormController'. Formatted genres array