Mastering Web Application

(Rick Simeone) #1

tricks 185
UI flickering, avoiding 179-181
run phase, modules 34


S


same-origin security policy
restrictions 79, 80
restrictions, with CORS 81-83
restrictions, with JSONP 80, 81
Scenario Runner 70, 71
Scope.$apply 293, 294
scope.$apply() method
unused watches, removing 310
Scope.$digest
calling, instead of Scope.$apply 308, 309
scope.$digest method 308
scope field 219
scopes
about 15
and evening system 20
hierarchy 15, 16, 20
inheritance 17
inheritance, through scopes
hierarchy 17-19
lifecycle 21
scripts
referencing 330
SCRUM 44
secure routes
access, preventing 208
resolve functions, using 209
securityInterceptor service
creating 205, 206
SecurityRetryQueue service
about 206, 210
creating 207
security service
about 199, 200
notifying 208
select directive
about 149
empty options, using 148
select inputs
using 145
selectPage call-back
adding, to directive 229, 230


selectPage() function 230
server-side authentication
API, providing 192
providing 192
server-side authorization
providing 192
unauthorized access, handling 192
server-side environment 47
server-side proxies 83
services
testing 65, 66
services, registering
about 29, 30
constants 31, 32
factory method 31
providers 32, 33
setTimout function 310
showLogin() method 199
simple-bind directive 292
simple-model directive 291, 293
single-page web applications
URLs 166
sortField property 130
sources folder 54
special variables 115, 116
static resources
minifying 318
stopPropagation() method 20
subforms
repeated inputs, validating 159-161
repeating 158, 159
using, as reusable components 157, 158
switchLocale function 285
switchLocaleUrl function 285

T
table rows classes
altering 119
template field 219
templates module 325
templates, preloading
$templateCache service, filling in 325-327
<script> directives used 324
about 323
techniques, combining 327
Free download pdf