Skip to content

Commit 3af6d6a

Browse files
committed
Update README.md
1 parent f425dfe commit 3af6d6a

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

README.md

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -44,6 +44,7 @@
4444
- List types of scopes directive can have?
4545
- How Directives are compiled?
4646
- What are the directives in angularJS?
47+
- What are different ways to invoke a directive?
4748

4849

4950
### 4. Filters
@@ -504,7 +505,7 @@ Class('C') <span class="my-directive: expression;"></span>
504505
Element ('E') <my-directive></my-directive>
505506
Comment ('M') <!-- directive: my-directive expression -->
506507
507-
#### Q. ***What is difference between $scope and scope ?***
508+
#### Q. ***What is difference between $scope and scope?***
508509
$scope - In case of DI, you inject the scope object with the dollar prefix i.e. $scope. The reason is
509510
the injected arguments must match to the names of injectable objects followed by dollar ($) prefix .
510511
@@ -513,7 +514,7 @@ you just pass the scope object without using dollar prefix i.e. scope. The reaso
513514
are received by its caller.
514515
515516
516-
#### Q. ***What is difference between services and factory ?***
517+
#### Q. ***What is difference between services and factory?***
517518
Service - It is just a function for the business layer of the application . It is act as a constauctor function
518519
and invoked once at a run time with new keyword.
519520

0 commit comments

Comments
 (0)