Resolve file data and quota in ui-routing