Cargando…

AngularJS essentials : design and construct reusable, maintainable, and modular web applications with AngularJS /

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.

Detalles Bibliográficos
Clasificación:Libro Electrónico
Autor principal: Branas, Rodrigo
Formato: Electrónico eBook
Idioma:Inglés
Publicado: Birmingham, UK : Packt Pub., 2014.
Colección:Community experience distilled.
Temas:
Acceso en línea:Texto completo
Tabla de Contenidos:
  • Cover; Copyright; Credits; About the Author; Acknowledgments; About the Reviewers; www.PacktPub.com; Table of Contents; Preface; Chapter 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; Chapter 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 directiveThe 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; Chapter 3: Data Handling; Expressions; Filters.
  • Basic usage with expressionscurrency; 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; Chapter 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.
  • Creating an HTTP facadeHeaders; 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; Chapter 5: Scope; Two-Way Data Binding; apply and watch; Best practices using the scope; The rootScope object; Broadcasting the scope; Summary; Chapter 6: Modules; Creating modules; The UI module; The search module; The parking application module.
  • Recommended modulesSummary; Chapter 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; Chapter 8: Automating the Workflow; Automating the workflow with Grunt; Installation; Configuration; Creating a distribution package; Executing the workflow; Managing packages with Bower; Installation.