Cargando…

AngularJS directives : learn how to craft dynamic directives to fuel your single-page web applications using AngularJS /

Annotation

Detalles Bibliográficos
Clasificación:Libro Electrónico
Autor principal: Vanston, Alex
Formato: Electrónico eBook
Idioma:Inglés
Publicado: Birmingham, UK : Packt Pub., 2013.
Colección:Community experience distilled.
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: Designing Web Applications in 2013; An overview of good code; We're not just talking about a lot of APIs; Modularity; Data driven development; Loading the data; Structuring our HTML; Adding the JavaScript; Summary; Chapter 2: The Need for Directives; What makes a directive a directive; Directives are declarative; Directives are data driven; Directives are conversational; Directives are everything you've dreamed about; Summary; Chapter 3: Deconstructing Directives.
  • Getting startedWith Angular; With directives; Naming; Attachment styles; Configuration options; Priority; Terminal; Templating; Replace; Compiling and Linking; Scope; Controllers; Transclusion; Summary; Chapter 4: Compile versus Link; Peeking under the covers; ng-repeat; Compile; Link; What about linking?; Summary; Chapter 5: Keeping it Clean with Scope; Scope = false; Scope = true; Scope = {}; @
  • read-only Access; =
  • two-way binding; &
  • method binding; Summary; Chapter 6: Controllers
  • Better with Sharing; Forms and inputs; Creating our own controller communication; Summary.
  • Chapter 7: TransclusionThat's not a word ... ; ... it is a solution; Manipulating the transcluded content; Summary; Chapter 8: Good Karma
  • Testing in AngularJS; Getting Started; Configuration; Angular and Karma; My first test; Mocking data; The test subject; E2E testing; Scenarios; Summary; Chapter 9: A Deeper Dive into Unit Testing; Highlighted, again; Negative testing; Summary; Chapter 10: Bringing it All Together; Angular content grid; Diving in; The initial directive; Connecting Masonry; Testing Masonry; Events; Timing; Further steps; Summary; Index.