Require JS integration with AngularJS