Skip to content

Commit dc3cfc3

Browse files
committed
Update README.md
1 parent 0603aa8 commit dc3cfc3

File tree

1 file changed

+1
-4
lines changed

1 file changed

+1
-4
lines changed

README.md

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -869,13 +869,10 @@ We can use the ng-disabled directive and bind its condition to the checkbox’s
869869
#### Q. ***In angular, what does the calls to the HTTP methods return?***
870870
In angular, calls to the HTTP methods actually return an observable and not a promise. You can think of an observable as a stream of events, and meeting values to anyone who has subscribed to it.
871871
872-
#### Q. ***An operator that we can use to avoid any 404 error is?***
873-
In Angular we can use `?` to avoid any unecessory file not found response. Let say if we have a cantacts information and we did not give a photo url but if we write `[src]=contact?.photoUrl` it will say 404 even if photo was not added.
874-
875872
#### Q. ***Using the Angular Http module to make a request, which method is used to listen for an emitted response?***
876873
In Angular Http module to make a request, method is used to listen for an emitted response.Subscribe
877874
878-
#### Q. *** What is the Router directive that can be placed on elements to navigate to a new route?***
875+
#### Q. ***What is the Router directive that can be placed on elements to navigate to a new route?***
879876
Router directive that can be placed on elements to navigate to a new route is `[routerLink]`.
880877
881878
#### Q. ***Assuming "form" is an NgForm object, which property is used to retrieve the form values?***

0 commit comments

Comments
 (0)