Skip to main content

🚀 In our NEW AI Bootcamp you'll build a working app in 28 days, no experience required. Free to all subscription levels.

Join the Treehouse affiliate program and earn 25% recurring commission! 🤑

✨ Earn college credits in Cybersecurity, JS, HTML, CSS and Python

  • Treehouse Logo
    • For Individuals
    • For Businesses
    • For Schools
    • For Libraries
    • For Military
    • All Courses
    • Tracks
    • AI Bootcamp
    • College Credit
    • Techdegree Bootcamps
    • Front End Development
    • Full Stack JavaScript
    • Code Adventures
    • Discord
    • Forum
    • Success Stories
    • Treehouse Links
    • 100 Days of Code
    • Explore
    • Career Toolbox
    • Free Treehouse Near Me
    • Affiliates
    • Blog
    • Support
    • About
    • Learn
    • Beginner's Guide to Coding
    • Data Analysis with SQL & Python
    • Front-End Web Development
    • Python Programming Basics
    • Techdegree Bootcamp Overview
    • UX Design Fundamentals
    • AI Tools for Beginners
  • For Individuals For Businesses For Schools For Libraries For Military
  • All Courses Tracks AI Bootcamp College Credit
  • Techdegree Bootcamps Front End Web Development Full Stack JavaScript
  • Code Adventures Discord Forum Success Stories Treehouse Links 100 Days of Code
  • Explore Career Toolbox Free Treehouse Near Me Affiliates Blog Support About
    Learn Beginner's Guide to Coding Data Analysis with SQL & Python Front-End Web Development Python Programming Basics Techdegree Bootcamp Overview UX Design Fundamentals AI Tools for Beginners
  • Sign In
  • Free Trial
Instagram Twitter Facebook YouTube LinkedIn
Loading banner... Start your free trial at Treehouse
    • Newest
      • Newest
      • Active
      • Unanswered
      • Featured
    • All Topics
      • All Topics
      • • General Discussion
      • • AI
      • • APIs
      • • Coding for Kids
      • • College Credit
      • • Computer Science
      • • CSS
      • • Data Analysis
      • • Databases
      • • Design
      • • Development Tools
      • • Digital Literacy
      • • Game Development
      • • Go Language
      • • HTML
      • • Java
      • • JavaScript
      • • Learning Resources
      • • Machine Learning
      • • No-Code
      • • PHP
      • • Professional Growth
      • • Python
      • • Quality Assurance
      • • React
      • • Ruby
      • • Security
      • • Swift
      • • Vibe Coding
  • Alejandro Carvajal
    Alejandro Carvajal
    9,100 Points

    "Future content" as mentioned in the video

    Posted August 22, 2019 12:56am by Alejandro Carvajal
    Alejandro Carvajal
    9,100 Points
    • JavaScript
    • AngularJS Basics (1.x)
    • Services in Angular
    • Using Services To Get Data

    0 Answers

  • Chance Stribling
    Chance Stribling
    696 Points

    "XMLHttp Request from origin 'null' has been blocked by CORs policy" I don't know what this means.

    Posted March 5, 2019 9:43pm by Chance Stribling
    Chance Stribling
    696 Points
    • JavaScript
    • AngularJS Basics (1.x)
    • Services in Angular
    • Using Services To Get Data

    1 Answer

  • Sean Flanagan
    Sean Flanagan
    33,237 Points

    What's wrong with my code?

    Posted February 1, 2018 9:29pm by Sean Flanagan
    Sean Flanagan
    33,237 Points
    • JavaScript
    • AngularJS Basics (1.x)
    • Services in Angular
    • Using Services To Get Data

    2 Answers

  • olu adesina
    olu adesina
    23,007 Points

    how is the service triggered in the first place

    Posted November 23, 2017 8:33pm by olu adesina
    olu adesina
    23,007 Points
    • JavaScript
    • AngularJS Basics (1.x)
    • Services in Angular
    • Using Services To Get Data

    1 Answer

  • jlampstack
    jlampstack
    23,932 Points

    I don't understand response.data @3:45

    Posted September 21, 2017 5:24pm by jlampstack
    jlampstack
    23,932 Points
    • JavaScript
    • AngularJS Basics (1.x)
    • Services in Angular
    • Using Services To Get Data

    2 Answers

  • Anthony Domina
    PLUS
    Anthony Domina
    Courses Plus Student 19,571 Points

    JSON not working

    Posted April 11, 2017 3:37pm by Anthony Domina
    Anthony Domina
    Courses Plus Student 19,571 Points
    • JavaScript
    • AngularJS Basics (1.x)
    • Services in Angular
    • Using Services To Get Data

    0 Answers

  • Juan Pieterse
    Juan Pieterse
    234 Points

    I open the workspace and the code in there is OLD does not relate to the video at all. How do I get the latest workspace

    Posted March 24, 2017 10:44am by Juan Pieterse
    Juan Pieterse
    234 Points
    • JavaScript
    • AngularJS Basics (1.x)
    • Services in Angular
    • Using Services To Get Data

    2 Answers

  • giseletoledo2
    giseletoledo2
    3,480 Points

    $scope value in console log

    Posted November 16, 2016 10:59am by giseletoledo2
    giseletoledo2
    3,480 Points
    • JavaScript
    • AngularJS Basics (1.x)
    • Services in Angular
    • Using Services To Get Data

    0 Answers

  • Jakub Szczepanik
    Jakub Szczepanik
    10,194 Points

    Console error dataService.getTodos

    Posted September 9, 2016 3:36pm by Jakub Szczepanik
    Jakub Szczepanik
    10,194 Points
    • JavaScript
    • AngularJS Basics (1.x)
    • Services in Angular
    • Using Services To Get Data

    4 Answers

  • Ana Weller
    Ana Weller
    9,310 Points

    *** SOLVED*** ReferenceError: callback is not defined

    Posted July 21, 2016 2:31pm by Ana Weller
    Ana Weller
    9,310 Points
    • JavaScript
    • AngularJS Basics (1.x)
    • Services in Angular
    • Using Services To Get Data

    0 Answers

  • Kirsty Pollock
    Kirsty Pollock
    14,261 Points

    How do we know that the callback function needs a "response" argument?

    Posted July 5, 2016 12:58pm by Kirsty Pollock
    Kirsty Pollock
    14,261 Points
    • JavaScript
    • AngularJS Basics (1.x)
    • Services in Angular
    • Using Services To Get Data

    2 Answers

  • Mariah Weathersby
    Mariah Weathersby
    1,404 Points

    JSON object being parsed into a string?

    Posted July 4, 2016 12:27pm by Mariah Weathersby
    Mariah Weathersby
    1,404 Points
    • JavaScript
    • AngularJS Basics (1.x)
    • Services in Angular
    • Using Services To Get Data

    1 Answer

  • Martin Lindsey
    Martin Lindsey
    11,273 Points

    What happened to my todos?

    Posted June 28, 2016 8:16pm by Martin Lindsey
    Martin Lindsey
    11,273 Points
    • JavaScript
    • AngularJS Basics (1.x)
    • Services in Angular
    • Using Services To Get Data

    1 Answer

  • fu t-treehouse
    fu t-treehouse
    5,110 Points

    I started this 3 hour course 8 hours ago. Transferring to mock/todos.json isn't working on a live website or on mamp SOS

    Posted June 18, 2016 12:32am by fu t-treehouse
    fu t-treehouse
    5,110 Points
    • JavaScript
    • AngularJS Basics (1.x)
    • Services in Angular
    • Using Services To Get Data

    9 Answers

  • Jason S
    Jason S
    16,247 Points

    $scope.todos is undefined since the data is received after it's been created ?

    Posted June 8, 2016 5:58pm by Jason S
    Jason S
    16,247 Points
    • JavaScript
    • AngularJS Basics (1.x)
    • Services in Angular
    • Using Services To Get Data

    4 Answers

  • Robin Malhotra
    Robin Malhotra
    14,883 Points

    Where does the callback come from?

    Posted February 18, 2016 7:38pm by Robin Malhotra
    Robin Malhotra
    14,883 Points
    • JavaScript
    • AngularJS Basics (1.x)
    • Services in Angular
    • Using Services To Get Data

    2 Answers

  • Arshan Khanifar
    Arshan Khanifar
    11,497 Points

    What's a REST api?

    Posted February 14, 2016 2:48am by Arshan Khanifar
    Arshan Khanifar
    11,497 Points
    • JavaScript
    • AngularJS Basics (1.x)
    • Services in Angular
    • Using Services To Get Data

    2 Answers

  • Gavin Murphy
    Gavin Murphy
    10,004 Points

    Problem pulling json file

    Posted February 4, 2016 1:40pm by Gavin Murphy
    Gavin Murphy
    10,004 Points
    • JavaScript
    • AngularJS Basics (1.x)
    • Services in Angular
    • Using Services To Get Data

    0 Answers

  • Gavin Murphy
    Gavin Murphy
    10,004 Points

    Not pulling json data

    Posted February 4, 2016 1:28pm by Gavin Murphy
    Gavin Murphy
    10,004 Points
    • JavaScript
    • AngularJS Basics (1.x)
    • Services in Angular
    • Using Services To Get Data

    2 Answers

  • John Park
    John Park
    5,323 Points

    Getting sloppy, Treehouse...

    Posted January 22, 2016 3:11am by John Park
    John Park
    5,323 Points
    • JavaScript
    • AngularJS Basics (1.x)
    • Services in Angular
    • Using Services To Get Data

    15 Answers

  • Bappy Golder
    Bappy Golder
    13,449 Points

    Can't see my todos

    Posted January 8, 2016 6:49am by Bappy Golder
    Bappy Golder
    13,449 Points
    • JavaScript
    • AngularJS Basics (1.x)
    • Services in Angular
    • Using Services To Get Data

    1 Answer

  • Allison Walker
    Allison Walker
    17,137 Points

    XMLHttpRequest: cannot load

    Posted January 4, 2016 10:49pm by Allison Walker
    Allison Walker
    17,137 Points
    • JavaScript
    • AngularJS Basics (1.x)
    • Services in Angular
    • Using Services To Get Data

    3 Answers

  • Alessandro Muraro
    Alessandro Muraro
    15,457 Points

    All my todos are gone

    Posted January 4, 2016 11:53am by Alessandro Muraro
    Alessandro Muraro
    15,457 Points
    • JavaScript
    • AngularJS Basics (1.x)
    • Services in Angular
    • Using Services To Get Data

    2 Answers

  • Steve Ono
    Steve Ono
    4,761 Points

    What is the scope of $scope.todos in the callback function inside dataService.getTodos(...)?

    Posted December 8, 2015 4:18am by Steve Ono
    Steve Ono
    4,761 Points
    • JavaScript
    • AngularJS Basics (1.x)
    • Services in Angular
    • Using Services To Get Data

    2 Answers

  • Talha Khalid
    Talha Khalid
    10,262 Points

    Error Message with Angular

    Posted November 28, 2015 12:47am by Talha Khalid
    Talha Khalid
    10,262 Points
    • JavaScript
    • AngularJS Basics (1.x)
    • Services in Angular
    • Using Services To Get Data

    3 Answers

Posting to the forum is only allowed for members with active accounts.
Please sign in or sign up to post.

Techdegree

  • Front End Web Development
  • Full Stack JavaScript
SEE ALL

Tracks

  • Learn to Code for Beginners
  • Beginning Python
  • Beginning SQL
  • Beginning Java
SEE ALL

Courses

  • JavaScript Basics
  • Intro to HTML & CSS
  • Python Basics
  • CSS Layout
SEE ALL

About Us

  • About
  • Blog
  • Community
  • Stories
  • Contact
  • Gift Card

Explore

  • Plans
  • Affiliates
  • Perks
  • Shop
  • Free Treehouse Near Me
  • Treehouse for Libraries
  • Treehouse for Businesses

Treehouse is an online technology education platform founded in 2011. Treehouse offers more than 700 self-paced, video-based courses in web development, programming, data analysis, design, and AI, plus two project-based bootcamp programs in Front End Web Development and Full Stack JavaScript. Individual Treehouse plans start at $25 per month and include a 7-day free trial. Treehouse serves individual learners, businesses, schools, and public libraries. Cardholders at participating U.S. public libraries can use Treehouse for free. Select Treehouse courses, offered with University Pathways International, are recommended for college credit by ACE and NCCRS. Treehouse learners earn digital certificates for completed Tracks.

Terms & Conditions · Privacy · © 2026 Treehouse Island, Inc.
  • Twitter
  • YouTube
  • Facebook
  • LinkedIn
  • Instagram
  • Discord