Code add ons to improve performance of AngularJS apps