angular bindings & cleanup