created first round of Recurly.com API integration for AngularJS - uses directive