Skip to content

Instantly share code, notes, and snippets.

@robinboehm
Created March 4, 2014 09:49
Show Gist options
  • Save robinboehm/9343395 to your computer and use it in GitHub Desktop.
Save robinboehm/9343395 to your computer and use it in GitHub Desktop.
workshop 03/14 BookDetailCtrl
"use strict";
angular.module('myApp')
.controller('BookDetailsCtrl', function ($scope) {
$scope.book = {
title : 'JavaScript für Enterprise-Entwickler',
subtitle : 'Professionell programmieren im Browser und auf dem Server',
isbn : '978-3-89864-728-1',
abstract : 'JavaScript ist längst nicht mehr nur für klassische Webprogrammierer interessant.',
numPages : 302,
author : 'Oliver Ochs',
publisher : {
name: 'dpunkt.verlag',
url : 'http://dpunkt.de/'
}
};
});
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment