ngSwitchCase problem for dynamic data

I solved this a long day ago. Thanks for your reply.