YoVDO

AngularJS: Scope and Digest

Offered By: LinkedIn Learning

Tags

Angular Courses Web Development Courses Data Binding Courses

Course Description

Overview

Explore scope and the digest cycle. This advanced course explores manual and automatic data binding approaches for AngularJS applications.

Syllabus

Introduction
  • Welcome
  • What you should know
  • Using the exercise files
1. Scope Basics
  • Initializing an app and a controller
  • Angular data bindings and usage
  • $scope and controllers
  • $scope built-in variables and methods
  • $scope prototype inheritance
  • Use controllerAs syntax
  • controllerAs naming conventions
  • The built-in directives problem
  • $rootScope
2. Manual Data Bindings
  • $scope.$watch
  • $watch function expressions
  • How bindings work
  • deep $watch
  • How deep $watch works
  • Destroying a $watch
3. The Digest Loop
  • Basic digest
  • When does Angular call the digest loop?
  • Dive into a digest loop
  • Infinite digest loops
  • When the digest loop is not called
  • Integrate an external library
  • $apply vs. $digest
4. Tips for Debugging Angular in the Console
  • Get the $scope in the console
  • Force $digest
  • Measure the Angular $digest loop time
  • How to use ng-stats
  • Inject services to the console
Conclusion
  • Next steps

Taught by

Iftach Bar

Related Courses

Developing Web Apps with SAPUI5
SAP Learning
Windows 10 App Development - Basics
Microsoft via edX
Developing Android Apps with Kotlin
Google via Udacity
Learn Object Oriented PHP By Building a Complete Website
Udemy
Angular Front To Back
Udemy