added base angular.js support