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 9191 - An Angular class that used to create an instance that will be an argument to the request method of http is?
9292
9393
94- ### 6. Performance
94+ ### 6. Misc
9595 - What is the best practice to build your application
9696 - 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?
97100
98101<br />
99102
@@ -886,7 +889,7 @@ The form value can be retrieved by `[form.value]`.
886889` [Request]` .
887890
888891
889- #### Q. ***A JSON Web Token consists of .... ?***
892+ #### Q. ***A JSON Web Token consists of?***
890893JSON Web Token consists of header, payload and signature. You can read more at https://jwt.io/
891894
892895#### 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
896899#### Q. ***Having the JWT token, what is the format of the Authorization header looks like?***
897900The authorization header should be ` Bearer [token]` .
898901
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-
907902
908903#### Q. Directive Example
909904
You can’t perform that action at this time.
0 commit comments