Welcome to the Treehouse Community
Want to collaborate on code errors? Have bugs you need feedback on? Looking for an extra set of eyes on your latest project? Get support with fellow developers, designers, and programmers of all backgrounds and skill levels here with the Treehouse Community! While you're at it, check out some resources Treehouse students have shared here.
Looking to learn something new?
Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and join thousands of Treehouse students and alumni in the community today.
Start your free trialkiran hill
Full Stack JavaScript Techdegree Student 2,373 PointsI am trying to do set up the front end for an app with node.js.
I am trying to figure out how node.js works.
function getSavedMovies(savedMovie, currentUser1){
$http.get(`${server}/users/${currentUser1}/movies`, movies)
.then(function(response){
self.savedMovies = response.data.movies
console.log("READ", self.savedMovies);
$state.go('movie_show')
})
}
I am getting that "updateMovies" is not defined.
How do I define it?
In another folder with an ng-repeat
?
and how do I call to that folder?
Tri Pham
18,671 PointsIs there a video you are following? you posted a small block code without much context. updateMovies is being called somewhere in your code, so it might be helpful to include the code that has it and the error log.
kiran hill
Full Stack JavaScript Techdegree Student 2,373 Pointskiran hill
Full Stack JavaScript Techdegree Student 2,373 PointsSo I kept getting "over 120 characters" even though it wasn't over 120 characters. I am getting
updateMovies
is not defined.I have a movie_show.html file. And I have it defined there I think. I am not sure I am linking that file correctly, though.