RESTful API From Scratch - Part 2 - Angular Frontend

preview_player
Показать описание
Here is the frontend part of the Restful API service we built in this video

Рекомендации по теме
Комментарии
Автор

Thanks so much Brad. Your two part tutorial taught me so much from knowing next to nothing about MEAN to a good basic understanding of the 'nuts & bolts' to move forward with.

BromleyJohn
Автор

I didn't understand 'bollocks' about Mean stack, it's like we were blind and you tutorials gave us vision! Thanks Brad, keep up the nice work :)

victornaut
Автор

For anyone watching this video now!!!
You cant use:

$scope.getBooks = function(){

$scope.books = response;
});
}
Because Angular removed the ".success" method in version 1.6. So you have to write it like this:

$scope.getBooks = function() {
$http.get('/api/books')
.then(function(response) {
$scope.books = response.data
})
}

martinnordstrom
Автор

This is awesome. Thank you for explaining this to me. You really help put everything together.

RapptrLabs
Автор

Thanks Brad, I really enjoy your videos and help me a lot to improve my skills.

abdouldia
Автор

Just finished implemented this course I got to say I faced some issues based on the stack versions but overall one of the best courses to start with learning nodejs and angular definitely I'll check what else this channel have

abdallahrizk
Автор

Brad, I know this is an older one, but I'm using Angularjs at my new job and this video is good stuff as always.

The flow of the video where you created the edit button/functionality and tested it by fixing the title mixup was classic, I had an lol moment with my headphones on. : )

I like that you keep the debugging and testing in the video, and the time figuring out what worked or didn't, because it's the way we all have to write code anyway. You aren't just teaching Angular, for example, you're also teaching testing and debugging, even if informally compared to the listed task.

Thanks man.

jeremywoods
Автор

thanks Brad. Very easy to understand and follow tutorial following the keep it simple mantra.

Also really refreshing to see some tutorials on windows + gitbash, instead of typical mac stuff

matc
Автор

Also, the href="#/blahblahblah" need to be changed to href="#!/blahblahblah" due to changes with angular 1.6.0

joeshonk
Автор

Thank you, it was very helpful. Some upgrades needed but you can get it from comments thanks to those too without them it's hard to find errors for a new learner like me.

saurabh_keskar
Автор

thanks brad, its very helpful to understand, for the start up, keep it up. thanks once again.

meesamzaidi
Автор

Thanks, so much value!
When is angular 2 version is coming?

DavidDresden
Автор

Thanks for this tut. Your explanation is very clear.

rdilipky
Автор

Thanks, now I understand what is restful api, thanks very much

jmasiero
Автор

Nice! :) Thank you so much! :) For begin clear and perfect.

nikolamilic
Автор

Thanks again for the video. I was suffering a lot. Now I think I can start playing with the code and try new things. =)

russellherrera
Автор

I'm also finding out that the .success in your controller has been deprecated and removed from angular.

joeshonk
Автор

Thanks you so much, very clear to understand!

ingemarandrade
Автор

Excellent
<img ng-src="{{book.image_url}}">
This gives you expected result, because book.image_url is evaluated and replaced by its value after angular is loaded.
<img src="{{book.image_url}}">
But with this, the browser tries to load an image named {{book.image_url}}, which results in a failed request. You can check this in the console of your browser.

lifelearner
Автор

Hi Brad Thanks for great tutorial.
Can you do a sample with angular-dataTables implementation. I'm having trouble combining the 2. Thank you!

mrhaite
welcome to shbcf.ru