Beginning AngularJS [electronic resource] /
Grant, Andrew.author.
Beginning AngularJS is your step-by-step guide to learning the powerful AngularJS JavaScript framework. AngularJS is one of the most respected and innovative frameworks for building properly structured, easy-to-develop web applications. This book will teach you the absolute essentials, from downloading and installing AngularJS, to using modules, controllers, expressions, filters, and directives. Unlike many other books, you don't need experience with AngularJS or deep JavaScript knowledge to get started here. This book will begin by teaching you the JavaScript you need to know, and then you'll get into the basics of AngularJS. You'll learn powerful AngularJS techniques through clear instructions. With what you learn you'll be able to properly structure your code into manageable modules, understand the MVC design patterns, create expressive and adaptive HTML forms, communicate with servers and use other AngularJS services, use the powerful built-in directives, and learn how to create your own. This might all seem unknown now, but with this book you'll understand it all. AngularJS is a powerful framework, and one which may require you to think a little differently. This book will help you avoid the common pitfalls and get you up to speed, and building solid AngularJS applications, quickly and painlessly.
""Contents at a Glance""; ""Contents""; ""About the Author""; ""About the Technical Reviewer""; ""Acknowledgments""; ""Chapter 1: JavaScript You Need to Know""; ""JavaScript Primer""; ""Including Scripts on a Page""; ""Statements""; ""Functions""; ""Parameters and Return Values""; ""Types and Variables""; ""Primitive Types""; ""Booleans""; ""Strings""; ""Numbers""; ""Undefined and Null""; ""JavaScript Operators""; ""Equality vs. Identity""; ""Pre- vs. Post- Increment""; ""Working with Objects""; ""Creating Obj ects""; ""Reading and Modifying an Objectâ€?s Properties""
""Adding Methods to Objects""""Enumerating Properties""; ""Control Flow""; ""Loops""; ""Conditional Statements""; ""Working with Arrays""; ""Array Literals""; ""Enumerating and Modifying Array Values""; ""Callbacks""; ""JSON""; ""Summary""; ""Chapter 2: The Basics of AngularJS""; ""Why We Need Frameworks""; ""What Is a Framework?""; ""Downloading and Installing AngularJS""; ""Browser Support""; ""Your First AngularJS Application""; ""Declarative vs. Procedural Programming""; ""Directives and Expressions""; ""What Is a Directive?""; ""What Are Expressions ?""; ""Summary""
""Chapter 3: Introduction to MVC""""Design Patterns""; ""Model View Controller""; ""Model""; ""View""; ""Controller""; ""A Separation of Concerns""; ""Why MVC Matters""; ""MVC the AngularJS Way""; ""Summary""; ""Chapter 4: Filters and Modules""; ""Introduction to Filters""; ""Built-in Filters""; ""The Number Filter""; ""The Date Filter""; ""The limitTo Filter""; ""AngularJS Modules""; ""What Is a Module?""; ""Bootstrapping AngularJS""; ""Creating a Custom Filter""; ""Summary""; ""Chapter 5: Directives""; ""The Basics of Directives""; ""Using Directives""; ""Built-in Directives""; ""ngBind""
""ngCloak""""ngInclude""; ""ngShow and ngHide""; ""ngRepeat""; ""Event-Handling Directives""; ""Using the API Documentation""; ""Creating a Custom Directive""; ""The restrict Option""; ""The template Option""; ""The link Option""; ""Summary""; ""Chapter 6: Working with Forms""; ""HTML Forms Overview""; ""The form Element""; ""The input Element""; ""button""; ""submit""; ""text""; ""checkbox""; ""password""; ""radio""; ""The textarea Element""; ""The select Element""; ""The label Element""; ""Model Binding""; ""AngularJS Forms""; ""Validating Forms""; ""Summary""
""Chapter 7: Services and Server Communication""""Using Services""; ""The window Service""; ""The location Service""; ""The document Service""; ""Why Use Services?""; ""Creating Services""; ""Promises""; ""Server Communication""; ""Handling Returned Data""; ""Accessing Returned Data""; ""Handling Errors""; ""Summary""; ""Chapter 8: Organizing Views""; ""Installing the ngRoute Module""; ""Using URL Routes""; ""Defining Routes""; ""Route Parameters""; ""Eager vs. Conservative Routes""; ""Route Configuration Options""; ""HTML5 Mode""; ""Summary""; ""Chapter 9: AngularJS Animation""
""Installing the ngAnimate Module""
Includes index.
Beginning AngularJS is your step-by-step guide to learning the powerful AngularJS JavaScript framework. AngularJS is one of the most respected and innovative frameworks for building properly structured, easy-to-develop web applications. This book will teach you the absolute essentials, from downloading and installing AngularJS, to using modules, controllers, expressions, filters, and directives. Unlike many other books, you don't need experience with AngularJS or deep JavaScript knowledge to get started here. This book will begin by teaching you the JavaScript you need to know, and then you'll get into the basics of AngularJS. You'll learn powerful AngularJS techniques through clear instructions. With what you learn you'll be able to properly structure your code into manageable modules, understand the MVC design patterns, create expressive and adaptive HTML forms, communicate with servers and use other AngularJS services, use the powerful built-in directives, and learn how to create your own. This might all seem unknown now, but with this book you'll understand it all. AngularJS is a powerful framework, and one which may require you to think a little differently. This book will help you avoid the common pitfalls and get you up to speed, and building solid AngularJS applications, quickly and painlessly.
Computer programming.
Software engineering.
Web Development.
Software Engineering/Programming and Operating Systems.