angular2-ui-switch
angular2-ui-switch copied to clipboard
[FIX] Make flag parameter optional to avoid AOT break
AOT compilation breaks because getColor() in the templeate doesn't match the function signature. This should fix the issue.