Cleaned up angular example.