angularjs investigation