some angular.js extensions