Wrox Programmer Forums

Need to download code?

View our list of code downloads.

Go Back   Wrox Programmer Forums > Web Programming > JavaScript > BOOK: Professional AngularJS
Password Reminder
Register
Register | FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read
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 tens of thousands of software programmers and website developers including Wrox book authors and readers. As a guest, you can read any forum posting. By joining today you can post your own programming questions, respond to other developers’ questions, and eliminate the ads that are displayed to guests. Registration is fast, simple and absolutely free .
DRM-free e-books 300x50
Reply
 
Thread Tools Display Modes
  #1 (permalink)  
Old January 15th, 2016, 05:39 PM
Registered User
Points: 8, Level: 1
Points: 8, Level: 1 Points: 8, Level: 1 Points: 8, Level: 1
Activity: 0%
Activity: 0% Activity: 0% Activity: 0%
 
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'
Reply With Quote
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are Off

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 02: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 01:49 PM
C#: Invoking a Form from console application arif_1947 VS.NET 2002/2003 1 October 5th, 2004 12:41 AM



All times are GMT -4. The time now is 11:42 PM.


Powered by vBulletin®
Copyright ©2000 - 2018, Jelsoft Enterprises Ltd.
© 2013 John Wiley & Sons, Inc.