Cargando…

AngularJS directives cookbook : extend the capabilities of AngularJS and build dynamic web applications by creating customized directives with a collection of more than 30 recipes /

Detalles Bibliográficos
Clasificación:Libro Electrónico
Autor principal: Monteiro, Fernando (Autor)
Formato: Electrónico eBook
Idioma:Inglés
Publicado: Birmingham : Packt Publishing, 2015.
Colección:Quick answers to common problems.
Temas:
Acceso en línea:Texto completo
Tabla de Contenidos:
  • Cover ; Copyright; Credits; About the Author; About the Reviewers; www.PacktPub.com; Table of Contents; Preface; Chapter 1: Dealing with Modal and Tabs Directives; Introduction; Using inline HTML templates; Creating a simple modal directive; Loading external templates for best practices; Using the link function; Dealing with tabs without Bootstrap UI directives; Chapter 2: Building a Navbar Custom Directive; Introduction; Building a navbar directive; Directory structure for common components; Directive's controller function; Using the data attribute to HTML5 compile
  • Chapter 3: Customizing and Using Bootstrap UI DirectivesIntroduction; Dealing with modal directives; Creating tab directives; The isolate scope; Building accordion tab directives; Loading dynamic content; Chapter 4: Creating Interactive jQuery UI Directives; Introduction; A simple directive example; Manipulating the DOM with jQuery; The compile and link functions; Creating the jQuery UI draggable directive; Creating the jQuery UI droppable directive; Chapter 5: Implementing Custom Directives with Yeoman Generators; Introduction; Creating the baseline app with generator-angm
  • Generator best practicesHow to implement the ngMap directive; Using the Angular-Loading-Bar directive; Implementing the ng-grid directive; Chapter 6: Using Directives to Develop Interface Components; Introduction; Creating an Off Canvas menu; Applying custom CSS; Building a shopping cart; Chapter 7: Building Directives with Dynamic Templates; Introduction; Using dynamic templates on directives; The compile function; Organizing dynamic directives on shared folders; Mixing different content on templates; Chapter 8: Creating Reusable Directives; Introduction
  • How to scale an AngularJS project to use reusable directivesBuilding a directive as an interface component; Creating a form directive with custom validation; Chapter 9: Directive Unit Testing with Karma and Jasmine; Introduction; How to test AngularJS apps using Karma and Karma Runner; Writing tests for directives with Jasmine; Testing elements when the scope changes; Index