Wrox Programmer Forums
Go Back   Wrox Programmer Forums > Web Programming > JavaScript > BOOK: Professional AngularJS
|
BOOK: Professional AngularJS
This is the forum to discuss the Wrox book Professional AngularJS by Valeri Karpov, Diego Netto; ISBN: 978-1-118-83207-3
Welcome to the p2p.wrox.com Forums.

You are currently viewing the BOOK: Professional AngularJS section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
Old January 15th, 2016, 05:39 PM
Registered User
 
Join Date: Jan 2016
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts
Default 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'





Similar Threads
Thread Thread Starter Forum Replies Last Post
Chapter 10, p382, Custom WCF Service, step 8 peterkao87 BOOK: Beginning SharePoint 2010 Development 0 December 5th, 2011 08:31 AM
Invoking a web service on New User creation in AD Anitha Karthik BOOK: ASP.NET 2.0 Instant Results ISBN: 978-0-471-74951-6 1 August 28th, 2008 01:15 AM
Need help invoking SOAP web service in C# traderhen .NET Web Services 0 December 12th, 2006 04:34 AM
Invoking service second time but no results aschilles .NET Web Services 0 April 7th, 2005 12:49 PM
C#: Invoking a Form from console application arif_1947 VS.NET 2002/2003 1 October 4th, 2004 11:41 PM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.