An asset loader directive for AngularJS