Skip to content

Commit 7bf3581

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

File tree

1 file changed

+22
-3
lines changed

1 file changed

+22
-3
lines changed

README.md

Lines changed: 22 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,12 @@
2121
- What is the difference between $scope and scope?
2222
- How AngularJS compilation is different from other JavaScript frameworks?
2323
- What are Compile, Pre and Post linking in AngularJS?
24+
- Is it a good or bad practice to use AngularJS together with jQuery?
25+
- If you were to migrate from Angular 1.4 to 1.5, what is the main thing that would need refactoring?
26+
- What is the difference between one-way binding and two-way binding?
27+
- How would you specify that a scope variable should have one-time binding only?
28+
- What directive would you use to hide elements from the HTML DOM by removing them from that DOM not changing their styling?
29+
- How do you reset a $timeout, $interval(), and disable a $watch()?
2430

2531

2632
### 2. Architecture
@@ -35,6 +41,12 @@
3541
- What is auto bootstrap process in AngularJS?
3642
- What is manual bootstrap process in AngularJS?
3743
- How AngularJS is compiled?
44+
- What should be the maximum number of concurrent "watches"? How would you keep an eye on that number?
45+
- Where should we implement the DOM manipulation in AngularJS?
46+
- How works `$digest`?
47+
- What is a digest cycle in AngularJS?
48+
- Explain how $scope.$apply() works?
49+
- What makes the angular.copy() method so powerful?
3850

3951

4052
### 3. Directives
@@ -45,14 +57,21 @@
4557
- How Directives are compiled?
4658
- What are the directives in angularJS?
4759
- What are different ways to invoke a directive?
60+
- What is the difference between ng-show/ng-hide and ng-if directives?
61+
- When creating a directive, it can be used in several different ways in the view. Which ways for using a directive do you know? How do you define the way your directive will be used?
62+
- When should you use an attribute Vs an element?
4863

4964

5065
### 4. Filters
5166
- What are Filters in AngularJS?
67+
- What are the basics steps to unit test an AngulatJS filter?
5268

5369

54-
### 5. How it works
55-
- How works `$digest`?
70+
### 5. Service
71+
- What is difference between services and factory?
72+
- How do you share data between controllers?
73+
- How would you make an Angular service return a promise? Write a code snippet as an example?
74+
- What is the role of services in AngularJS and name any services made available by default?
5675

5776

5877
### 6. Performance
@@ -689,7 +708,7 @@ var deregisterWatchFn = $scope.$on(‘$destroy’, function () {
689708
deregisterWatchFn();
690709
});
691710
```
692-
#### Q. ***Explain what is a `$scope` in AngularJS is?***
711+
#### Q. ***What is $scope in AngularJS?***
693712
694713
Scope is an object that refers to the application model. It is an execution context for expressions. Scopes are arranged in hierarchical structure which mimic the DOM structure of the application. Scopes can watch expressions and propagate events. Scopes are objects that refer to the model. They act as glue between controller and view.
695714

0 commit comments

Comments
 (0)