AngularJS widget directives
about 222
HTML template, using 224
pagination directive, tests writing 223
pagination directive, writing 222
angular.module function 26
application
sample application 44, 45
securing 191
array data sources
using 146
array-style DI annotations
pitfalls 322, 323
asynchronous model validator
creating 235
implementing 238, 239
tests, writing 237
users service, mocking 236
attacks
preventing 194
attribute (@)
interpolating 226, 227
attribute (=)
data binding to 227
authorization 210
authorization service
creating 210, 211
automated testing 43, 62, 63
B
Batarang 10, 302
beHungry method 85
bind-html-unsafe directive 112
Birds eye view
about 13
controller 14
model 14
scope 13
Bootstrap CSS
URL 48
build system
about 48
principles 49, 50
built-in directives, AngularJS
directives 214
button directive
writing 220-222
C
cache property 77
call-back expression
providing, in attribute (&) 227, 228
callback function 79
callbacks
aggregation 88
registration 88
cancelLogin(redirectTo) method 199
cancel() method 207
canSave() method 156
checkbox inputs
using 144
clickable links
creating 186
clicked() expression 120
click events 120
client-side authentication
supporting 203
client-side authorization
failures, handling 203
responses, intercepting 204
securityInterceptor service, creating 205,
206
SecurityRetryQueue service, creating 207
supporting 203
client-side security support
adding 198, 199
login form, showing 200, 201
menu items, hiding 202
security-aware menus, creating 201
security service, creating 199
toolbars, creating 201
closeLoginDialog() helper 200
compilation process
about 265
field directive, creating 265-267
field template, setting up 270
templates, loading dynamically 269
terminal property in directives, using 267
validation messages, binding to 269
compilation stage, directives 215, 216
compile field 219
compile function
transclusion, getting 252, 253
comprehension expression 146