Move load functionality into angularized code.