simple demo with angularjs, directives, rest (ngResource) and Heroku