File tree Expand file tree Collapse file tree 1 file changed +5
-10
lines changed Expand file tree Collapse file tree 1 file changed +5
-10
lines changed Original file line number Diff line number Diff line change 91
91
- An Angular class that used to create an instance that will be an argument to the request method of http is?
92
92
93
93
94
- ### 6. Performance
94
+ ### 6. Misc
95
95
- What is the best practice to build your application
96
96
- When it is necessary or whether it is necessary to use ` $scope.$apply `
97
+ - A JSON Web Token consists of?
98
+ - A JWT should be signed with a secret called?
99
+ - Having the JWT token, what is the format of the Authorization header looks like?
97
100
98
101
<br />
99
102
@@ -886,7 +889,7 @@ The form value can be retrieved by `[form.value]`.
886
889
` [Request]` .
887
890
888
891
889
- #### Q. ***A JSON Web Token consists of .... ?***
892
+ #### Q. ***A JSON Web Token consists of?***
890
893
JSON Web Token consists of header, payload and signature. You can read more at https://jwt.io/
891
894
892
895
#### Q. ***A JWT should be signed with a secret called ?***
@@ -896,14 +899,6 @@ not simple. You can easily generate one via this link https://www.grc.com/passwo
896
899
#### Q. ***Having the JWT token, what is the format of the Authorization header looks like?***
897
900
The authorization header should be ` Bearer [token]` .
898
901
899
- #### Q. ***Is it possible to use MVC in AngularJS?***
900
- Answer: True
901
-
902
- #### Q. ***What's the difference between factory and service?***
903
-
904
- > factories are functions that return the object, while services are constructor functions of the object which are instantiated with the new keyword.
905
- > Both are singletons, even though the name “factory” might imply differently.
906
-
907
902
908
903
#### Q. Directive Example
909
904
You can’t perform that action at this time.
0 commit comments