bookDetails.js 273 B

12345678
  1. (function(){
  2. 'use strict';
  3. app.controller('BookDetails', ['$scope','books.repository', '$routeParams',function ($scope, booksRepository, $routeParams) {
  4. booksRepository.getBookById($routeParams.id).then(function(response){
  5. })
  6. }])
  7. })()