Overview
Explore Angular performance optimization techniques in this NG-Conf talk by Karl Seamon. Dive into the intricacies of directives, including compile, link, and constructor processes, as well as transclu sion. Compare ng-if and ng-show, and learn about unconventional practices like $$postDigest. Discover methods to avoid dirty checking altogether and gain insights into diagnosing performance issues using tools like AngularJS Batarang and the profiler. Interpret profiler output for custom functions and Angular methods. Get an overview of recent AngularJS improvements and a glimpse into future enhancements. Perfect for developers looking to boost their Angular application's performance and efficiency.
Syllabus
Intro
What does slow mean?
Directives: compile, link, and constructor
Directives: Transclusion
Putting it together
ng-if vs ng-show
Not really a Best Practice: $$postDigest
Avoiding dirty checking altogether
Diagnosing performance problems: Tools
Using AngularJS Batarang
Using the profiler
Interpreting profiler output: My function
Interpreting profiler output: angular. copy & angular.equals
An incomplete list of recent improvements to AngularJS
Future improvements AngularJS
Taught by
ng-conf