Toggle switch directive to use Bootstrap switch in angularJS