You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+1-4Lines changed: 1 addition & 4 deletions
Original file line number
Diff line number
Diff line change
@@ -869,13 +869,10 @@ We can use the ng-disabled directive and bind its condition to the checkbox’s
869
869
#### Q. ***In angular, what does the calls to the HTTP methods return?***
870
870
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.
871
871
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
-
875
872
#### Q. ***Using the Angular Http module to make a request, which method is used to listen for an emitted response?***
876
873
In Angular Http module to make a request, method is used to listen for an emitted response.Subscribe
877
874
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?***
879
876
Router directive that can be placed on elements to navigate to a new route is `[routerLink]`.
880
877
881
878
#### Q. ***Assuming "form" is an NgForm object, which property is used to retrieve the form values?***
0 commit comments