Skip to content

Commit e0195e9

Browse files
committed
Update README.md
1 parent 7ee7d24 commit e0195e9

File tree

1 file changed

+5
-10
lines changed

1 file changed

+5
-10
lines changed

README.md

Lines changed: 5 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -91,9 +91,12 @@
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?***
890893
JSON 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?***
897900
The 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

0 commit comments

Comments
 (0)