Added _.isBoolean check - this function for some reason not available as part of the angular.is[type] batch of functions
Merge branch 'develop'