some tests with angularjs