AngularJS Tutorial 4

preview_player
Показать описание


This time we'll look at AngularJS services. I'll create custom services as well as cover built in services like $window, $document, $location, $interval, $log, $exceptionHandler, $watch, $compile, and I'll use $http to pull in data from a language translation web service.

Thank you to Patreon supports like the following for helping me make this video

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

I think Derek is one of the best Teacher in the World and the knowledge that he has is just amazing. I am a programmer but nothing like Derek. Just awesome.

mobinshah
Автор

Derek Banas helped me in learning a myriad of programming languages whilst I was in college. Now when I enter into the realm of jobs and professionalism that currently requires web expertise, he is still there, smiling, with a host of competent videos to the rescue.
Keep doing what you are doing. When I start earning, I'll make sure to chip in :)

AmanGarg
Автор

He is such a great guy doing all these tutorials! Love watching them! Nice and consistent, easy to follow, but well-paced. Only thing I'd mention that a better mic would come handy. Not much bass is recorded from his voice.

andris
Автор

thanks sir Derek, your the best of the best youtube teacher

lamda
Автор

Thanks Derek! Looking for ng-Route, ui-Route tutorials in details

yuvrajmmtech
Автор

I'm growing old waiting for react.js lmao. I love your videos by the way !!

wildalain
Автор

Derek I really like your tutorials. you explain everything simple and most importantly quickly. Can you please do tutorials on Spring MVC, Hibernate frameworks? that would be a great help since the few tutorials available on youtube either outdated, lengthy or utter crap

ChathushkaPeiris
Автор

thank you for your excellent tutorial and time to wish you have a nice weekend.

AntikLee_HAMBURG
Автор

Hi Derek, these videos are really awesome and thanks for your examples as well:). Also it will be great if you can show how you are deploying them into server.

nagasrn
Автор

Thanks for such a great tutorials, Derek!

Are you going to do some lessons for bison/flex/yacc? It will be very interesting to get such an information from you!

gammerava
Автор

Derek, excellent tutorial as always. When will you do some projects involving golang? That first go tutorial was simply amazing..

titllaaa
Автор

So in other words services is used to encapsulate some functions in some sort of class, right?

Demitrodon
Автор

Awesome. Make video about structure of angular application.

piotrpilis
Автор

Amazing .
sir, would you use embedded js in your next project that requires a template engine ?

swapnasaritnayak
Автор

Your thoughts on books/resources for learning Angular 2?

TheodoreAnderson
Автор

FYI... Facebook link is broken, please check once.

Thank you very much for the video.

ckumareddy
Автор

Hi Derek. Your tutorials are amazing, but i want to ask, are you going to make MeteorJs tutorial?

vladastamosiunas
Автор

Hi Derek I'm sure you are familiar with the Angular(ng) 2.0 and how it has change all the syntax, namespace, and ""COMPONENTS" and total way of thinking when it comes to a MV* .. the EMS6 and 7 or TS involvement, , are you considering a ng2.0 tutorial???

jaythermo
Автор

What would you recommend for a file/image upload tool for the mean stack? How would you accept each of those players bio pics through Mongo VIA Angular?

anthony
Автор

Hi Derek, another great tutorial, congrats! :)
I have one question about $http function which you show - I want to use it to gather variable value through http request. I also want to refresh this value automatically every for example 2 seconds. So I wrote the similar function that you use:

$interval(function ($http){
(data){
model.variable = data;});

$scope.time=new Date().toTimeString();
}, 2000);

I display it on the screen using:

<h1>Variable: {{todo.variable}} data: {{time}}<h1>

After loading the webapage the variable is displyed correclty but its value not refreshed. One the other hand - date is refreshed correctly every 2 sec. Could you tell me why $http request is not refreshed in this case?

bartomiejmorawski