angular js, cleanup