Free Sample
+ Collection

AngularJS Essentials

Rodrigo Branas

Design and construct reusable, maintainable, and modular web applications with AngularJS.
RRP $20.99
RRP $34.99
Print + eBook

Want this title & more?

$12.99 p/month

Subscribe to PacktLib

Enjoy full and instant access to over 2000 books and videos – you’ll find everything you need to stay ahead of the curve and make sure you can always get the job done.

Book Details

ISBN 139781783980086
Paperback180 pages

About This Book

  • Explore and understand the features of AngularJS to construct advanced web applications from scratch
  • Understand how to apply the most important concepts of the framework like directives, expressions, filters, modules, and services
  • Experience high-quality delivery by automating tests and optimizing the distribution of the application using tools like Jasmine and Grunt

Who This Book Is For

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.

Table of Contents

Chapter 1: Getting Started with AngularJS
Introduction to AngularJS
Architectural concepts
Setting up the framework
Organizing the code
Chapter 2: Creating Reusable Components with Directives
What is a directive?
Using AngularJS built-in directives
Refactoring application organization
Creating our own directives
Chapter 3: Data Handling
Form validation
Chapter 4: Dependency Injection and Services
Dependency injection
Creating services
Using AngularJS built-in services
Chapter 5: Scope
Two-way data binding
Best practices using the scope
The $rootScope object
Scope Broadcasting
Chapter 6: Modules
Creating modules
Recommended modules
Chapter 7: Unit Testing
The Jasmine testing framework
Testing AngularJS components
Chapter 8: Automating the Workflow
Automating the workflow with Grunt
Managing packages with Bower

What You Will Learn

  • Create reusable components with directives
  • Explore filters to manipulate and transform data
  • Discover more about the two-way data binding mechanism
  • Easily validate data from the user's form
  • Create services in order to keep the business logic under control
  • Understand and explore the dependency injection feature
  • Follow the best practices of the framework to organize and modularize your application
  • Automate your project's workflow and learn everything you need to know about unit testing with AngularJS

In Detail

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.


Read More