demo for issues around rendering activity indicator directive