@@ -5,7 +5,7 @@ block includes
55 One of the defining features of a single page application is its manipulation
66 of the DOM tree. Instead of serving a whole new page every time a user
77 navigates, whole sections of the DOM appear and disappear according
8- to the application state. In this chapter we'll to look at how Angular
8+ to the application state. In this chapter we'll look at how Angular
99 manipulates the DOM and how we can do it ourselves in our own directives.
1010
1111 In this chapter we will
@@ -48,7 +48,7 @@ block includes
4848:marked
4949 ## NgIf Case Study
5050
51- Let’ s focus on `ngIf`. It's a great example of a structural
51+ Let' s focus on `ngIf`. It's a great example of a structural
5252 directive: it takes a boolean and makes an entire chunk of DOM appear
5353 or disappear.
5454
@@ -72,9 +72,9 @@ figure.image-display
7272 the component's behavior continues.
7373 It remains attached to its DOM element. It continues to listen to events.
7474 Angular keeps checking for changes that could affect data bindings.
75- Whatever the component was doing it keeps doing.
75+ Whatever the component was doing, it keeps doing it .
7676
77- Although invisible, the component — and all of its descendent components —
77+ Although invisible, the component — and all of its descendant components —
7878 tie up resources that might be more useful elsewhere.
7979 The performance and memory burden can be substantial and the user may not benefit at all.
8080
@@ -143,7 +143,7 @@ figure.image-display
143143 a heavy price to create and destroy it.
144144
145145 If we really expected to "wink" the component like this, toggling visibility would be the better choice.
146- In most UIs, when we "close" a component we're unlikely see it again for a long time, if ever.
146+ In most UIs, when we "close" a component we're unlikely to see it again for a long time, if ever.
147147 The `ngIf` would be preferred in that case.
148148
149149<a id =" template" ></a >
0 commit comments