integrated with angularjs