AngularJS version of Superbox