extensions for angular.