You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Apr 12, 2024. It is now read-only.
Copy file name to clipboardexpand all lines: docs/content/misc/faq.ngdoc
+6-6
Original file line number
Diff line number
Diff line change
@@ -33,7 +33,7 @@ templating systems.
33
33
### Do I need to worry about security holes in AngularJS?
34
34
35
35
Like any other technology, AngularJS is not impervious to attack. Angular does, however, provide
36
-
built-in protection from basic security holes including cross-site scripting and HTML injection
36
+
built-in protection from basic security holes, including cross-site scripting and HTML injection
37
37
attacks. AngularJS does round-trip escaping on all strings for you and even offers XSRF protection
38
38
for server-side communication.
39
39
@@ -52,7 +52,7 @@ Yes. See instructions in {@link downloading}.
52
52
53
53
We run our extensive test suite against the following browsers: Safari, Chrome, Firefox, Opera 15,
54
54
IE9 and mobile browsers (Android, Chrome Mobile, iOS Safari). See {@link guide/ie Internet
55
-
Explorer Compatibility} for more details in supporting legacy IE browsers.
55
+
Explorer Compatibility} for more details on supporting legacy IE browsers.
56
56
57
57
58
58
### What's Angular's performance like?
@@ -61,8 +61,8 @@ The startup time heavily depends on your network connection, state of the cache,
61
61
available hardware, but typically we measure bootstrap time in tens or hundreds of milliseconds.
62
62
63
63
The runtime performance will vary depending on the number and complexity of bindings on the page
64
-
as well as the speed of your backend (for apps that fetch data from the backend). Just for an
65
-
illustration we typically build snappy apps with hundreds or thousands of active bindings.
64
+
as well as the speed of your backend (for apps that fetch data from the backend). For an
65
+
illustration, we typically build snappy apps with hundreds or thousands of active bindings.
66
66
67
67
68
68
### How big is the angular.js file that I need to include?
@@ -88,7 +88,7 @@ but we don't guarantee that.
88
88
89
89
### What is testability like in Angular?
90
90
91
-
Very testable and designed this way from ground up. It has an integrated dependency injection
91
+
Very testable and designed this way from the ground up. It has an integrated dependency injection
92
92
framework, provides mocks for many heavy dependencies (server-side communication). See
93
93
{@link ngMock} for details.
94
94
@@ -189,7 +189,7 @@ Then whenever a value on a scope changes, all `$watch`es observing that element
189
189
190
190
Sometimes, usually when you're writing a custom directive, you will have to define your own `$watch` on a scope value to make the directive react to changes.
191
191
192
-
On the flip side, sometimes you change a scope value in some code but the app doesn't react to it.
192
+
On the flip side, sometimes you change a scope value in some code, but the app doesn't react to it.
193
193
Angular checks for scope variable changes after pieces of your code have finished running; for example, when `ng-click` calls a function on your scope, Angular will check for changes and react.
194
194
However, some code is outside of Angular and you'll have to call `scope.$apply()` yourself to trigger the update.
195
195
This is most commonly seen in event handlers in custom directives.
0 commit comments