angular directive based on bootstrap-switch