Beginning AngularJS

(WallPaper) #1
„„„„„„„„„A

AngularJS application
BeginningAngularJS folder, 38
browser support, 37
declarative programming, 41
definition, 36
directive
ngClick, 43
ngInit, 43
ngShow, 42
DOM, 35
download options, 37
expressions, 43
front-end web development, 35
HTML5 doctype, 38
installation, 36
LibGDX framework, 36
Microsoft Entity Framework, 36
ngApp, 38, 40
output, 39
procedural programming, 41
tinkering, 39
updation, 40
AngularJS code, 106
AngularJS filters. See Filters
AngularJS forms
controller code
angularJS code, 106
check box, 104
form code, 105
select element, 103
submit Handler, 105
Email field, 102
first-draft, 101
ngOptions directive, 103
user registration form, 101
validation (see Validation)
AngularJS module


controller method, 68
custom filter (see Custom filter)
module definition, 68
myAppModule.js, 69–70
ngApp directive, 69
setup and configuration, 69
Angular service
$animate service, 115
basic angular service, 119
dateTimeService, 120
dateTimeSvc object, 120
$document service, 118
factory method, 120
$location service, 117
promises, 121
server communication (see
Server communication)
service object, 120
$window service, 115–116
Animation
catie-grant.html, 159
content slider, 158, 160
CSS classes, 157, 159
directives, 157
events, 158
fade-in effect, 156
features, 150
my-first-animation class, 157
ngAnimate module, 149–150
ngInclude directive, 161
tara-court.html, 159
transforms
SASS and Stylus, 152
scale and rotate function, 151–152
set up, 151
transitions
action, 153–154
property, 153
styles, 153

Index

Free download pdf