Port rendr.it to AngularJS