fix(uploads): added check for undefined accept value, changed scope() to isolateScope()