Chapter-1, Step 6: Invoking Service from Console
This is what I'm trying to execute, using Safari 9:
On page 35 the text says to paste the following lines into the browser console.
Quote=angular.element(document.body).injector().ge t(âQuoteServiceâ)
Watchlist=angular.element(document.body).injector( ).get(âWatchlistServiceâ)
Quote.register(Watchlist.query() [0].stocks[0])
I get this error: SyntaxError: Invalid character '\u8216'
|