some more tests for angular, and patch to angular.js