frapontillo/angular-bootstrap-switch — pull request #11 by sgmonda (2014-02-18 14:51:31+00:00)
Title: Avoid "$apply() already in progress" error

Check `scope.$$phase` before calling `$apply()` to avoid errors.