AngularJS 1.x Tips and Tricks

AngularJS 1.x Tips and Tricks

36mAdvanced2017-05-01

Authors

Aviv Ben-Yosef

Aviv Ben-Yosef

Consultant, Trainer

Course details

While AngularJS 1.x is generally a well-tested and well-understood framework, it still has secrets to share. In this course, learn lesser known facts about AngularJS 1.x that can help you build better applications. Aviv Ben-Yosef begins by taking you through techniques for making your AngularJS 1.x apps faster, including one-time binding. Next, he dives into AngularJS 1.x concepts that every developer should have in their toolkit. Finally, he shares a few tricks—such as multiple transclusion and turning URLs in paragraphs into safe links—that can help you when you work on larger apps.

Learning objectives
Speeding up ng-repeat with track by
One-time binding
Using ng-change instead of $watch
Understanding & binding
Understanding @ binding
Creating promises without $q.defer()
Handling circular dependencies
Multiple transclusion
Turning URLs in paragraphs into safe links

Skills covered

AngularJavaScript FrameworksTips, Tricks, & TechniquesWeb DevelopmentOpen Source

Concepts

0. Introduction

  • 01 - Welcome
  • 02 - What you should know

1. Performance

  • 03 - ng-if vs. ng-show
  • 04 - Speed up ng-repeat with track by
  • 05 - One-time binding
  • 06 - Why ng-include should be avoided
  • 07 - Use ng-change instead of $watch

2. Angular Concepts

  • 08 - Understand & binding
  • 09 - Understand @ binding
  • 10 - Services vs. factories
  • 11 - Functions - angular.equals and angular.toJson

3. Tricks

  • 12 - Create promises without $q.defer()
  • 13 - Handle circular dependencies
  • 14 - Multiple transclusion
  • 15 - Turn URLs in paragraphs to safe links

Conclusion

  • 16 - Next steps
40,000 Toman