Adding $timeout to dependencies as $modalStack is using it.