Books & Videos

Table of Contents

  1. Chapter 1 Introducing AngularJS

    1. Introducing AngularJS

    2. Starting Out with AngularJS

    3. Conclusion

  2. Chapter 2 Basic AngularJS Directives and Controllers

    1. AngularJS Modules

    2. Creating Our First Controller

    3. Working with and Displaying Arrays

    4. More Directives

    5. Working with ng-repeat

    6. Conclusion

  3. Chapter 3 Unit Testing in AngularJS

    1. Unit Testing: What and Why?

    2. Introduction to Karma

    3. Jasmine: Spec Style of Testing

    4. Writing a Unit Test for Our Controller

    5. Running the Unit Test

    6. Conclusion

  4. Chapter 4 Forms, Inputs, and Services

    1. Working with ng-model

    2. Working with Forms

    3. Leverage Data-Binding and Models

    4. Form Validation and States

    5. Error Handling with Forms

    6. ngModelOptions

    7. Nested Forms with ng-form

    8. Other Form Controls

    9. Conclusion

  5. Chapter 5 All About AngularJS Services

    1. AngularJS Services

    2. Creating Our Own AngularJS Service

    3. Conclusion

  6. Chapter 6 Server Communication Using $http

    1. Fetching Data with $http Using GET

    2. Advanced $http

    3. ngResource

    4. Conclusion

  7. Chapter 7 Unit Testing Services and XHRs

    1. Dependency Injection in Our Unit Tests

    2. Testing Services

    3. Unit Testing Server Calls

    4. Conclusion

  8. Chapter 8 Working with Filters

    1. What Are AngularJS Filters?

    2. Creating AngularJS Filters

    3. Things to Remember About Filters

    4. Conclusion

  9. Chapter 9 Unit Testing Filters

    1. The Filter Under Test

    2. Testing the timeAgo Filter

    3. Conclusion

  10. Chapter 10 Routing Using ngRoute

    1. Routing in a Single-Page Application

    2. Using ngRoute

    3. Routing Options

    4. Additional Configuration

    5. Alternatives: ui-router

    6. Conclusion

  11. Chapter 11 Directives

    1. What Are Directives?

    2. Alternatives to Custom Directives

    3. Understanding the Basic Options

    4. Conclusion

  12. Chapter 12 Unit Testing Directives

    1. Steps Involved in Testing a Directive

    2. The Stock Widget Directive

    3. Setting Up Our Directive Unit Test

    4. Other Considerations

    5. Conclusion

  13. Chapter 13 Advanced Directives

    1. Life Cycles in AngularJS

    2. Transclusions

    3. Directive Controllers and require

    4. Compile

    5. Priority and Terminal

    6. Third-Party Integration

    7. Best Practices

    8. Conclusion

  14. Chapter 14 End-to-End Testing

    1. The Need for Protractor

    2. Initial Setup

    3. Protractor Configuration

    4. An End-to-End Test

    5. Considerations

    6. Conclusion

  15. Chapter 15 Guidelines and Best Practices

    1. Testing

    2. Project Structure

    3. Build

    4. Best Practices

    5. Tools and Libraries

    6. Conclusion