Cover image for gularJS Essentials.
gularJS Essentials.
Title:
gularJS Essentials.
Author:
Branas, Rodrigo.
ISBN:
9781783980093
Personal Author:
Physical Description:
1 online resource (187 pages)
Contents:
AngularJS Essentials -- Table of Contents -- AngularJS Essentials -- Credits -- About the Author -- Acknowledgments -- About the Reviewers -- www.PacktPub.com -- Support files, eBooks, discount offers, and more -- Why subscribe? -- Free access for Packt account holders -- Preface -- What this book covers -- What you need for this book -- Who this book is for -- Conventions -- Reader feedback -- Customer support -- Downloading the example code -- Errata -- Piracy -- Questions -- 1. Getting Started with AngularJS -- Introduction to AngularJS -- Architectural concepts -- Setting up the framework -- Organizing the code -- Four ways to organize the code -- The inline style -- The stereotyped style -- The specific style -- The domain style -- Summary -- 2. Creating Reusable Components with Directives -- What is a directive? -- Using AngularJS built-in directives -- The ngApp directive -- The ngController directive -- Nested controllers -- The ngBind directive -- The ngBindHtml directive -- The ngRepeat directive -- The ngModel directive -- The ngClick directive and other event directives -- The ngDisable directive -- The ngClass directive -- The ngOptions directive -- The ngStyle directive -- The ngShow and ngHide directives -- The ngIf directive -- The ngInclude directive -- Refactoring application organization -- Creating our own directives -- template -- templateUrl -- replace -- restrict -- scope -- transclude -- link -- require -- controller -- compile -- Animation -- How it works? -- Animating ngRepeat -- Animating ngHide -- Animating ngClass -- Summary -- 3. Data Handling -- Expressions -- Filters -- Basic usage with expressions -- currency -- date -- filter -- json -- limitTo -- lowercase -- number -- orderBy -- uppercase -- Using filters in other places -- Creating filters -- Form validation -- Creating our first form -- Basic validation.

Understanding the pristine and dirty properties -- The error object -- Summary -- 4. Dependency Injection and Services -- Dependency injection -- Creating services -- Creating services with the factory -- Creating services with the service -- Creating services with the provider -- Using AngularJS built-in services -- Communicating with the backend -- HTTP, REST, and JSON -- AJAX -- Creating an HTTP facade -- Headers -- Caching -- Interceptors -- Creating a single-page application -- Installing the module -- Configuring the routes -- Rendering the content of each view -- Passing parameters -- Changing the location -- Resolving promises -- Logging -- Timeout -- Asynchronous with a promise-deferred pattern -- The deferred API -- The promise API -- Summary -- 5. Scope -- Two-way data binding -- apply and watch -- Best practices using the scope -- The rootScope object -- Scope Broadcasting -- Summary -- 6. Modules -- Creating modules -- The UI module -- The search module -- The parking application module -- Recommended modules -- Summary -- 7. Unit Testing -- The Jasmine testing framework -- Testing AngularJS components -- Services -- Controllers -- Filters -- Directives -- Creating the element with the directive -- Compiling the directive -- Calling the link function with the scope -- Invoking the digest cycle -- Mocking with httpBackend -- Running tests with Karma -- Installation -- Configuration -- Running tests -- Summary -- 8. Automating the Workflow -- Automating the workflow with Grunt -- Installation -- Configuration -- Creating a distribution package -- Executing the workflow -- Managing packages with Bower -- Installation -- Finding packages -- Installing packages -- Using packages -- Cache -- Summary -- Index.
Abstract:
This book is strongly recommended for those who have a passion for web development and who are looking for a framework that can provide a reusable, maintainable, and modular way to create applications and increase their productivity.
Local Note:
Electronic reproduction. Ann Arbor, Michigan : ProQuest Ebook Central, 2017. Available via World Wide Web. Access may be limited to ProQuest Ebook Central affiliated libraries.
Electronic Access:
Click to View
Holds: Copies: