configuration object primer
about 77
cache property 77
headers property 77
method property 77
params property 77
timeout property 77
transformRequest property 77
transformResponse property 77
url property 77
configuration phase, modules 33
constructor-level
and instance-level methods 97, 98
behavior, adding to resource objects 99, 100
custom methods 98, 99
constructor-level
and instance-level methods 97
content delivery network (CDN) 11
continuous integration (CI) server 333
controller based pagination directive
creating 258
controller field 219
controller property 256
controllers
about 56
testing 67-70
cookie snooping
preventing 194, 195
CORS 81-83
CPU utilization
$digest loops, speeding up 303
DOM access in watch-expression, avoiding
305, 306
optimizing 303
unnecessary watches, removing 306
unused watches, removing 309
watch expression, syntax 303-305
Cross-origin resource sharing. See CORS
cross-site request forgery
preventing 198
cross-site scripting attacks
HTML content in AngularJS expressions,
securing 195
HTML, sanitizing 196
preventing 195
unsafe HTML bindings, allowing 196
currency filter 276
currentUser property 199
custom validation directive
creating 230, 231
directive controller 231
implementing 235
tests, writing 233, 234
D
Daily workflow 71
data conversion 79
dataSource expression 146, 147
data transformations
in filters 136
date filter 275, 286
datepicker input directive 239
debugging 74
declarative template view 22, 24, 25
deep-watching mode 313
deferred object 207
dependency injection (DI)
about 8, 27, 28, 259, 318
benefits 28, 29
describe function 64
details
multiple rows, displaying 118, 119
one row, displaying 117, 118
DI annotations
pitfalls 322
directive() 218
directive controllers
about 256, 257
accordion directive, implementing 263
accordion directive suite, creating 261
accordion-group directive, implementing
263, 264
and link functions 258
compilation process 259, 260
controller based pagination directive,
creating 258
dependency injection 259
in accordion, using 262, 263
optional, creating 231
other controllers, access to 260
parents, searching 232
priority property, using 256
requiring 231