Cleanup angular js stuff