Integration with AngularJS