Create & Control Semantic UI Rating with Angular Directives
optional
required
model = a number variable representing the current rating (out of total).total = a number variable for the maximum rating that can be given.type @ a string for the type of rating (none, star, heart, + sizes).disabled = a boolean variable for disabling or enabling the rating.settings = a reference to a settings object to pass to the initialization function.on-init = Callback once the module is initialized, passing the initialized element as the first argument.on-rate = Callback after user selects a new rating.These attribute directives invoke a behavior on the component where the attribute value can be one of the following formats:
$ @ A selector string.evt @ The event string which triggers the behavior ('click' by default).enabled = A boolean value which determines whether or not the behavior should be called when the event occurs.value = The first argument to pass to the behavior if it requires one.