angular/angular.js — pull request #4286 by petebacondarwin (2013-10-05 10:29:38+00:00)
Title: style(): only intantiate lex/parse once

There is no need to instantiate a new lexer and parser for every call to $parse.

[In fact, since these objects are really singletons in Angular, the optimisation of moving stuff into prototypes for these objects, could have been done less verbosely by putting the shared data and methods into closure]