improving angularjs support