Angular directive to display stars based ratings