Various extensions to AngularJS