Some small filters for AngularJS support