Services in Angular - Learning Angular (Part 6)

  Рет қаралды 58,005

Angular

Angular

Күн бұрын

Пікірлер: 34
@Angular
@Angular Жыл бұрын
Watch more episodes of Learning Angular→ goo.gle/Learning-Angular
@mvishalshukla007
@mvishalshukla007 Жыл бұрын
I am eagerly waiting to see video tutorials on web component in angular
@josuepintor9315
@josuepintor9315 Жыл бұрын
This was amazing. I'm currently working on a project and needed this information and it was simple to follow, replicate and adapt to my needs. Thanks a bunch.
@Angular
@Angular Жыл бұрын
So glad you found it valuable. Thanks so much for watching and good luck on your project!
@zopokhan
@zopokhan 6 ай бұрын
This series has been a game-changer for my workflow. Thanks!
@mirci5459
@mirci5459 Жыл бұрын
Thank you a lot for these videos, they are so helpful! But I'd suggest to show explorer bar in VS Code to understand in which file you are working, where this file is, where folder with services is and so on. It will help beginners to understand navigation better
@sualk6937
@sualk6937 4 ай бұрын
I love this guy, I want to hug him
@DungLearnThings
@DungLearnThings 6 ай бұрын
mark thompson is the coolest angular teacher 🤩
@onoes9646
@onoes9646 5 ай бұрын
He didn't close the in details.component.ts.
@RuiMatosOficial
@RuiMatosOficial Ай бұрын
It is amazing the lesson. Congrats.
@mambacurry3090
@mambacurry3090 Жыл бұрын
While importing inject in the home component first letter of inject which is 'i' must be in small letter. If you add Inject with capital "I", then it will not work. At 4:21
@Bastardovl
@Bastardovl 3 ай бұрын
I got this error, thank you
@rjrviudez
@rjrviudez 24 күн бұрын
Excellent . I love it
@sikinski1588
@sikinski1588 Ай бұрын
Thank you! Very proud
@milosh996
@milosh996 5 ай бұрын
tip: if you use curly braces for lambda expressions, you must return the condition (even if the block still has just one line).
@dmitriygritsenko4069
@dmitriygritsenko4069 2 ай бұрын
Hey, Mark! Great tutorial for the beginners so far. Why you are using inject instead of requiring the service as a private param in the constructor?
@RuiMatosOficial
@RuiMatosOficial Ай бұрын
Used inject for function. Because, not necessary in construtor.
@ahmadganteng7435
@ahmadganteng7435 2 ай бұрын
Thanks a lot, Mark.
@TRANGNGUYEN-nd7sd
@TRANGNGUYEN-nd7sd 4 ай бұрын
Thank you for being proud of me sir :)
@monksee
@monksee 5 ай бұрын
Great tutorials thank you :) You're very good at presenting. :)
@diprefranco
@diprefranco 4 ай бұрын
I'm wondering if all the congrats were on the script or are they improvised.. he's very good..
@jediampm
@jediampm Жыл бұрын
Hi, again about inject vs constructor params to inject a service and deeps and this template (details) is starting to be big to fit in a ts file, so why not in separated file?
@Angular
@Angular Жыл бұрын
We made the decision to keep the template inline for this example to reduce the number of file someone new to Angular would have to reason about. In future courses, we'll mention more best practices about when to move to a separate file for templates. Thank you for watching, and thank you for the feedback.
@gonzo1457
@gonzo1457 Жыл бұрын
Hi! Great tutorials! Just a question. Is the same the: "housingService = inject(HousingService); " in detailsComponent than the: "housingService : HousingService = inject(HousingService);" in HomeComponent ? Is there a reason to declare the type of the property in one and not in the other? thanks!
@Angular
@Angular Жыл бұрын
Great question and this is likely Mark just showing both ways of doing it, but technically, TypeScript can infer the type of HousingService just fine.
@jeverydk
@jeverydk 7 ай бұрын
Question, instead of using inject, couldn't you then instanciate the service in a constructor?
@Angular
@Angular 7 ай бұрын
Sure, that method works, too.
@ramijawadi4356
@ramijawadi4356 Жыл бұрын
no listing-description class in css file ...
@Vthoen
@Vthoen 6 ай бұрын
the angular website skips the previous tutorial video, this made it very confusing.
@BernardoGuerreiro
@BernardoGuerreiro 5 ай бұрын
yup, we've seen how awsome the angular cli is eheh
@peymanebrahimi7756
@peymanebrahimi7756 Жыл бұрын
where are images of houses? nothing in assets
@Angular
@Angular Жыл бұрын
We're working to improve the download to include the images, but until then you can download the images from here: github.com/angular/angular/tree/main/aio/content/examples/first-app-lesson-00/src/assets
@peymanebrahimi7756
@peymanebrahimi7756 Жыл бұрын
@@Angular Tnx
@ohmegatech666
@ohmegatech666 3 ай бұрын
A few confusing things to be more careful of next time you're editing: at 2:20 you say you're copying the contents but you're actually cutting them. Then after you paste them in housing.service.ts you, you say "back in housing.service.ts" which is very confusing since that's already where we are.
Forms in Angular - Learning Angular (Part 7)
9:43
Angular
Рет қаралды 54 М.
How to route in Angular - Learning Angular (Part 5)
15:51
Angular
Рет қаралды 89 М.
Cheerleader Transformation That Left Everyone Speechless! #shorts
00:27
Fabiosa Best Lifehacks
Рет қаралды 16 МЛН
黑天使只对C罗有感觉#short #angel #clown
00:39
Super Beauty team
Рет қаралды 36 МЛН
REAL or FAKE? #beatbox #tiktok
01:03
BeatboxJCOP
Рет қаралды 18 МЛН
How Strong Is Tape?
00:24
Stokes Twins
Рет қаралды 96 МЛН
Why the Biggest Companies on the Internet Use Nginx
2:17
Harrish
Рет қаралды 2,9 М.
Everything You Need to Know About Angular Services and Beyond |  In-depth tutorial
16:03
Technical Babaji (Tarique Akhtar)
Рет қаралды 7 М.
HTTP in Angular - Learning Angular (Part 8)
12:42
Angular
Рет қаралды 49 М.
Angular 19 is a BEAST of a release!
19:39
Maximilian Schwarzmüller
Рет қаралды 52 М.
Angular Crash Course | Learn modern Angular in 90 minutes
1:29:09
Code with Ahsan
Рет қаралды 46 М.
Getting started with Angular Signals
11:03
Angular
Рет қаралды 45 М.
Cheerleader Transformation That Left Everyone Speechless! #shorts
00:27
Fabiosa Best Lifehacks
Рет қаралды 16 МЛН