add support for angularjs