Replace angular.isFunction with _.isFunction (closes #12)