wrap data in AngularJS module