Книги и журналы » Компьютерная литература » Веб-дизайн и программирование
AngularJS EssentialsГод: 2014
Автор: Rodrigo Branas
Издательство: Packt Publishing
ISBN: 978-1-78398-009-3
Язык: Английский
Формат: PDF
Качество: Изначально компьютерное (eBook)
Количество страниц: 180
Описание:
This book is a practical guide filled with real-world examples that will help you discover the best practices of the AngularJS framework, covering its most important concepts such as directives, expressions, filters, and modules and guiding you through the steps of building your very own web application.
You will start by learning how to create reusable components with directives, experiencing an expressive way of developing software. Then we will move on to cover data handling, and you will learn how to use the various features of the AngularJS framework to accomplish any challenge related to presenting, transforming, and validating data on a user's interface.
After that, we will explore the secrets of the dependency injection mechanism available in AngularJS, bringing reuse and testability to your application by decoupling the layers. The book will also cover the best practices of using the framework and how to automate the test and the project's workflow.
[spoiler="Примеры страниц"]

[/spoiler]
[spoiler="Оглавление"]
Preface
Chapter 1: Getting Started with AngularJSIntroduction to AngularJS
Architectural concepts
Setting up the framework
Organizing the code
Chapter 2: Creating Reusable Components with DirectivesWhat is a directive?
Using AngularJS built-in directives
Refactoring application organization
Creating our own directives
Animation
Chapter 3: Data HandlingExpressions
Filters
Form validation
Chapter 4: Dependency Injection and ServicesDependency injection
Creating services
Using AngularJS built-in services
Chapter 5: ScopeTwo-way data binding
Best practices using the scope
The $rootScope object
Scope Broadcasting
Chapter 6: ModulesCreating modules
Recommended modules
Chapter 7: Unit TestingThe Jasmine testing framework
Testing AngularJS components
Chapter 8: Automating the WorkflowAutomating the workflow with Grunt
Managing packages with Bower
Index[/spoiler]