AngularJS Essentials
Create successful ePaper yourself
Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.
O<br />
one-way data binding mechanism 103<br />
orderBy filter<br />
about 59, 60<br />
array 59<br />
function 59<br />
string property 59<br />
P<br />
package.jsonfile file 146, 154, 155<br />
packages<br />
installing, with Bower 157<br />
managing, with Bower 156<br />
searching, with Bower 156<br />
using 157<br />
parking application module 115, 119, 120<br />
Plain-Old-JavaScript-Object (POJO) 9<br />
POST method 77<br />
prerequisites, Karma installation<br />
NodeJS 140<br />
Node Package Manager(npm) 141<br />
promise API<br />
catch(errorCallback) 101<br />
finally(callback) 101<br />
then (successCallback, errorCallback,<br />
notifyCallback) 101<br />
provider<br />
used, for creating services 75, 76<br />
Q<br />
QUnit, Karma 141<br />
R<br />
recommended modules, <strong>AngularJS</strong> 120<br />
replace property<br />
used, for creating directive 36<br />
Representational State Transfer<br />
(REST method) 77<br />
RequireJS, Karma 141<br />
require property<br />
used, for creating directive 44-46<br />
restrict property<br />
used, for creating directive 37, 38<br />
Revealing Module Pattern 70, 72, 122<br />
RSpec 122<br />
run function 112<br />
S<br />
scope object<br />
about 103<br />
best practices 106-110<br />
broadcasting 111, 112<br />
scope property<br />
used, for creating directive 38-41<br />
search module 115, 118, 119<br />
services, <strong>AngularJS</strong> components<br />
creating 69<br />
creating, with <strong>AngularJS</strong> service 74<br />
creating, with factory function 70-73<br />
creating, with provider 75, 76<br />
testing 125<br />
single-page application. See SPA<br />
singleRun property 142<br />
SPA<br />
about 87<br />
asynchronous promises, resolving 93-95<br />
location, changing 92<br />
module, installing 87<br />
parameters, passing 91<br />
routes, configuring 87<br />
view content, rendering 88<br />
specific style 14<br />
status codes, HTTP protocol 78<br />
stereotyped style 13, 14<br />
string property, orderBy filter 59<br />
T<br />
template property<br />
used, for creating directive 35<br />
templateUrl property<br />
used, for creating directive 36<br />
test<br />
running, Karma used 140-143<br />
TickGenerator service 111<br />
transclude property<br />
used, for creating directive 42<br />
[ 163 ]<br />
www.it-ebooks.info