Angular js app  to record book information