AngularJS: Up and Running – Enhanced Productivity with Structured Web Apps 1st Edition by Shyam Seshadri – Ebook PDF Instant Download/Delivery: 1491901942, 9781491901946
Full download AngularJS: Up and Running 1st Edition after payment
Product details:
ISBN 10: 1491901942
ISBN 13: 9781491901946
Author: Shyam Seshadri
If you want to get started with AngularJS, either as a side project, an additional tool, or for your main work, this practical guide teaches you how to use this meta-framework step-by-step, from the basics to advanced concepts. By the end of the book, you’ll understand how to develop a large, maintainable, and performant application with AngularJS.Guided by two engineers who worked on AngularJS at Google, you’ll learn the components needed to build data-driven applications, using declarative programming and the Model–view–controller pattern. You’ll also learn how to conduct unit tests on each part of your application.Learn how to use controllers for moving data to and from viewsUnderstand when to use AngularJS services instead of controllersCommunicate with the server to store, fetch, and update data asynchronouslyKnow when to use AngularJS filters for converting data and values to different formatsImplement single-page applications, using ngRoute to select views and navigationDive into basic and advanced directives for creating reusable componentsWrite an end-to-end test on a live version of your entire applicationUse best practices, guidelines, and tools throughout the development cycle
AngularJS: Up and Running 1st Edition Table of contents:
Chapter 1. Introducing AngularJS
Introducing AngularJS
What Is MVC (Model-View-Controller)?
AngularJS Benefits
The AngularJS Philosophy
Starting Out with AngularJS
What Backend Do I Need?
Does My Entire Application Need to Be an AngularJS App?
A Basic AngularJS Application
AngularJS Hello World
Conclusion
Chapter 2. Basic AngularJS Directives and Controllers
AngularJS Modules
Creating Our First Controller
Working with and Displaying Arrays
More Directives
Working with ng-repeat
ng-repeat Over an Object
Helper Variables in ng-repeat
Track by ID
ng-repeat Across Multiple HTML Elements
Conclusion
Chapter 3. Unit Testing in AngularJS
Unit Testing: What and Why?
Introduction to Karma
Karma Plugins
Explaining the Karma Config
Generating the Karma Config
Jasmine: Spec Style of Testing
Jasmine Syntax
Useful Jasmine Matchers
Writing a Unit Test for Our Controller
Running the Unit Test
Conclusion
Chapter 4. Forms, Inputs, and Services
Working with ng-model
Working with Forms
Leverage Data-Binding and Models
Form Validation and States
Error Handling with Forms
Displaying Error Messages
ngMessages
Styling Forms and States
ngModelOptions
Nested Forms with ng-form
Other Form Controls
Textareas
Checkboxes
Radio Buttons
Combo Boxes/Drop-Downs
Conclusion
Chapter 5. All About AngularJS Services
AngularJS Services
Why Do We Need AngularJS Services?
Services Versus Controllers
Dependency Injection in AngularJS
Using Built-In AngularJS Services
Order of Injection
Common AngularJS Services
Creating Our Own AngularJS Service
Creating a Simple AngularJS Service
The Difference Between Factory, Service, and Provider
Conclusion
Chapter 6. Server Communication Using $http
Fetching Data with $http Using GET
A Deep Dive into Promises
Propagating Success and Error
The $q Service
Making POST Requests with $http
$http API
Configuration
Advanced $http
Configuring $http Defaults
Interceptors
Best Practices
ngResource
Conclusion
Chapter 7. Unit Testing Services and XHRs
Dependency Injection in Our Unit Tests
State Across Unit Tests
Testing Services
Mocking Out Services
Spies
Unit Testing Server Calls
Integration-Level Unit Tests
Conclusion
Chapter 8. Working with Filters
What Are AngularJS Filters?
Using AngularJS Filters
Common AngularJS Filters
Using Filters in Controllers and Services
Creating AngularJS Filters
Things to Remember About Filters
Conclusion
Chapter 9. Unit Testing Filters
The Filter Under Test
Testing the timeAgo Filter
Conclusion
Chapter 10. Routing Using ngRoute
Routing in a Single-Page Application
Using ngRoute
Routing Options
Using Resolves for Pre-Route Checks
Using the $routeParams Service
Things to Watch Out For
A Full AngularJS Routing Example
Additional Configuration
HTML5 Mode
SEO with AngularJS
Analytics with AngularJS
Alternatives: ui-router
Conclusion
Chapter 11. Directives
What Are Directives?
Alternatives to Custom Directives
ng-include
Limitations of ng-include
ng-switch
Understanding the Basic Options
Creating a Directive
Template/Template URL
Restrict
The link Function
Scope
Replace
Conclusion
Chapter 12. Unit Testing Directives
Steps Involved in Testing a Directive
The Stock Widget Directive
Setting Up Our Directive Unit Test
Other Considerations
Conclusion
Chapter 13. Advanced Directives
Life Cycles in AngularJS
AngularJS Life Cycle
The Digest Cycle
Directive Life Cycle
Transclusions
Basic Transclusion
Advanced Transclusion
Directive Controllers and require
require Options
Input Directives with ng-model
Custom Validators
Compile
Priority and Terminal
Third-Party Integration
Best Practices
Scopes
Clean Up and Destroy
Watchers
$apply (and $digest)
Conclusion
Chapter 14. End-to-End Testing
The Need for Protractor
Initial Setup
Protractor Configuration
An End-to-End Test
Considerations
Conclusion
Chapter 15. Guidelines and Best Practices
Testing
Test-Driven Development
Variety of Tests
When to Run Tests
Project Structure
Best Practices
Directory Structure
Third-Party Libraries
Starting Point
People also search for AngularJS: Up and Running 1st Edition:
angularjs up and running
shyam seshadri angularjs
structured web apps tutorial
angularjs ebook pdf
frontend web development angularjs
Tags: AngularJS Up, Productivity, Web Apps, Shyam Seshadri



