Book Image

Learning Single-page Web Application Development

Book Image

Learning Single-page Web Application Development

Overview of this book

Table of Contents (15 chapters)
Learning Single-page Web Application Development
Credits
About the Author
About the Reviewers
www.PacktPub.com
Preface
Index

Chapter 5. Starting with AngularJS

Although it is easy to start developing SPAs with AngularJS, but over time and as your application grows, there will be tasks that are more difficult to solve. So, it is very important to understand all the concepts very well. Unlike other JavaScript frameworks, AngularJS adopts a more connected approach to the HTML syntax, functioning as a kind of language extension.

We consider these topics as core concepts for a good understanding of the AngularJS framework: directives, scope, services, controllers, dependency injection, and expressions. Even this seems a lot, but it is not if we take into account the complexity of the framework. However, as this book is not an absolute guide to AngularJS, we will only discuss here a few concepts that are considered as fundamentals to build SPAs. Once the concepts are understood, you will have the necessary basics to move forward with the framework.

Throughout this chapter, we will be focusing on the following concepts...