Chapter 6. Porting Search to Angular. I have copied the customer.js and changes to index.html.erb exactly. When I go to page /customers, nothing is appearing. My Chrome browser console is giving me the message below.
I ran the previous test in the chapter (“hello angular”) that allowed me to verify that angular is installed.
Not sure where I went wrong. Feedback is appreciated.
customers.js?3bca:55 Uncaught TypeError: Object(…)(…).Class is not a function at eval (customers.js?3bca:55) at Object. (customers-9ed9a8d58f0a5b1bc57c.js:2100) at __webpack_require__ (customers-9ed9a8d58f0a5b1bc57c.js:20) at Object. (customers-9ed9a8d58f0a5b1bc57c.js:2087) at __webpack_require__ (customers-9ed9a8d58f0a5b1bc57c.js:20) at customers-9ed9a8d58f0a5b1bc57c.js:63 at customers-9ed9a8d58f0a5b1bc57c.js:66 (anonymous) @ customers.js?3bca:55 (anonymous) @ customers-9ed9a8d58f0a5b1bc57c.js:2100 __webpack_require__ @ customers-9ed9a8d58f0a5b1bc57c.js:20 (anonymous) @ customers-9ed9a8d58f0a5b1bc57c.js:2087 __webpack_require__ @ customers-9ed9a8d58f0a5b1bc57c.js:20 (anonymous) @ customers-9ed9a8d58f0a5b1bc57c.js:63 (anonymous) @ customers-9ed9a8d58f0a5b1bc57c.js:66