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 July 30th, 2017, 03:56 PM
Registered User
Points: 5, Level: 1
Points: 5, Level: 1 Points: 5, Level: 1 Points: 5, Level: 1
Activity: 0%
Activity: 0% Activity: 0% Activity: 0%
 
Join Date: Jun 2017
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Default The first controller

The introduction to the book (Page xxvi - xxvii):
"HelloController" gets used twice (once for English & once for Spanish)...;

Suppose I need the variable 'user', but I need it in Spanish & not in English or vice versa...;

In AngularJS Up & Running... You'd have something like the following:
ng-controller="HelloController as ctrl"

& then I'd have ctrl.user

Thank you in advance!
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 4 controller is not in /controller folder jkacher BOOK: Professional ASP.NET MVC 5 1 October 31st, 2014 12:53 AM
Controller and Views davecarroll BOOK: Professional ASP.NET Design Patterns 2 March 2nd, 2011 02:16 PM
Shouldn't they be in a controller? phpcoder101 BOOK: Professional CodeIgniter ISBN: 978-0-470-28245-8 2 November 6th, 2009 04:24 PM
controller to controller tigransh Spring 1 November 10th, 2006 11:48 PM
throwaway controller mmasters BOOK: Professional Java Development with the Spring Framework 0 June 27th, 2006 10:56 AM



All times are GMT -4. The time now is 03:13 PM.


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