angular/angular.js — pull request #8619 by jbedard (2014-08-15 05:52:55+00:00)
Title: perf($compile): move $$isolateBinding creation to directive factory instead of on each link

Currently isolated scope info is parsed during the directive linking and a new $$isolateBindings is generated for every link. If the parsing fails an iscp error is thrown on every link of the directive.

This moves the parsing into the directive factory, creates a single shared $$isolateBindings, and will only throw the iscp error once if the parsing fails instead of once per link.

I'm not sure if batarang still uses $$isolateBindings (I can't find any reference to it)? Or if batarang depends on the $$isolateBindings format? Currently this PR changes the $$isolateBindings format, and also only puts $$isolateBindings on isolated scopes instead of every Scope instance.